Live data migration in document stores
AssigneeGONG.io Ltd.
InventorsErez Biezuner, Zohar Shay
Life of this patent
Estimating the term…
Abstract
A method and system for live migration of an index in a document store are provided. The method includes creating a new index based on a change request, wherein the change request designates at least one change relative to a current index, wherein the new index includes all mappings and settings of the current index together with the at least one requested change, wherein the new index and the current index are properties of the document store; initiating a reindexing process of the new index by copying documents from the current index to the new index, wherein the current index remains active during the reindexing of the new index; and upon successful completion of the reindexing process, deleting the current index and directing all write and read requests to the new index.
Claims15
A method for live migration of an index in a document store, comprising:
- creating a new index based on a change request, wherein the change request designates at least one change relative to a current index, wherein the new index includes all mappings and settings of the current index together with the at least one requested change, wherein the new index and the current index are properties of the document store;
- initiating a reindexing process of the new index by copying documents from the current index to the new index, wherein the current index remains active during the reindexing of the new index;
- upon successful completion of the reindexing process, deleting the current index and directing all write and read requests to the new index, wherein all write requests are directed to both the new index and to the current index during the reindexing process, wherein all read requests are directed only to the current index during the reindexing process;
- assigning a single controller to control the reindexing process;
- responding, by the controller, with a topology of the current index for any read request;
- and
- responding, by the controller, with a topology of the current index and a topology of the new index for any write request.
A non-transitory computer readable medium having stored thereon instructions for causing a processing circuitry to execute a process for live migration of an index in a document store, the process comprising:
- creating a new index based on a change request, wherein the change request designates at least one change relative to a current index, wherein the new index includes all mappings and settings of the current index together with the at least one requested change, wherein the new index and the current index are properties of the document store;
- initiating a reindexing process of the new index by copying documents from the current index to the new index, wherein the current index remains active during the reindexing of the new index;
- upon successful completion of the reindexing process, deleting the current index and directing all write and read requests to the new index, wherein all write requests are directed to both the new index and to the current index during the reindexing process, wherein all read requests are directed only to the current index during the reindexing process;
- assigning a single controller to control the reindexing process;
- responding, by the controller, with a topology of the current index for any read request;
- and
- responding, by the controller, with a topology of the current index and a topology of the new index for any write request.
A system for live migration of an index in a document store, comprising:
- a processing circuitry;
- and
- a memory, the memory containing instructions that, when executed by the processing circuitry, configure the system to:
- create a new index based on a change request, wherein the change request designates at least one change relative to a current index, wherein the new index includes all mappings and settings of the current index together with the at least one requested change, wherein the new index and the current index are properties of the document store;
- initiate a reindexing process of the new index by copying documents from the current index to the new index, wherein the current index remains active during the reindexing of the new index;
- and
- upon successful completion of the reindexing process, delete the current index and directing all write and read requests to the new index, wherein all write requests are directed to both the new index and to the current index during the reindexing process, wherein all read requests are directed only to the current index during the reindexing process;
- assign a single controller to control the reindexing process;
- respond, by the controller, with a topology of the current index for any read request;
- and
- respond, by the controller, with a topology of the current index and a topology of the new index for any write request.
Dependencies are inferred from the claim text.