×

Shard Splitting

  • US 20200133550A1
  • Filed: 10/31/2018
  • Published: 04/30/2020
  • Est. Priority Date: 10/31/2018
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for splitting a shard comprising:

  • marking a source index as read only, the source index comprising a source shard, the source shard comprising a source reference;

    creating a target index, the target index comprising target shards, each target shard of the target shards comprising a target reference of target references;

    copying the source reference, the copying producing the target references;

    hashing identifiers in the source reference, each identifier being associated with a document of a plurality of documents of the source shard, the hashing assigning each document of the plurality of documents to a target shard of the target shards, the plurality of documents being stored in a file associated with the source reference;

    deleting at least some documents of the plurality of documents in the target references, the at least some documents belonging in a different target shard of the target shards;

    hard linking the file into the target references;

    marking the target index as read-write, such that the target index is used in place of the source index; and

    deleting the source index.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×