Synchronization of index copies in an LSM tree file system

US11074225B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11074225-B2
Application numberUS-201816231246-A
CountryUS
Kind codeB2
Filing dateDec 21, 2018
Priority dateDec 21, 2018
Publication dateJul 27, 2021
Grant dateJul 27, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The disclosure herein describes synchronizing cached index copies at a first site with indexes of a log-structured merge (LSM) tree file system on an object storage platform at a second site. An indication that the LSM tree file system has been compacted based on a compaction process is received. A cached metadata catalog of the included parent catalog version at the first site is accessed. A set of cached index copies is identified at the first site based on the metadata of the cached metadata catalog. The compaction process is applied to the identified set of cached index copies and a compacted set of cached index copies is generated at the first site, whereby the compacted set of cached index copies is synchronized with a respective set of indexes of the plurality of sorted data tables of the LSM tree file system at the second site.

First claim

Opening claim text (preview).

What is claimed is: 1. A computerized method for synchronizing cached index copies at a first site with indexes of a log-structured merge (LSM) tree file system on an object storage platform at a second site, the method comprising: receiving, by a processor at the first site, an indication that the LSM tree file system has been compacted based on a compaction process, the indication including a parent catalog version associated with a compacted metadata catalog generated at the second site during the compaction process; accessing, by the processor, a cached metadata catalog of the included parent catalog version at the first site, the cached metadata catalog including metadata associated with a plurality of sorted data tables of the LSM tree file system; identifying, by the processor, a set of cached index copies at the first site associated with the plurality of sorted data table based on the metadata of the cached metadata catalog; applying, by the processor, the compaction process to the identified set of cached index copies based on the metadata of the cached metadata catalog; and based on the application of the compaction process to the set of cached index copies, generating, by the processor, a compacted set of cached index copies at the first site, whereby the compacted set of cached index copies is synchronized with a respective set of indexes of the plurality of sorted data tables of the LSM tree file system at the second site, wherein the first site includes a client, the second site includes a server, and the client and server are in communication via a network. 2. The computerized method of claim 1 , wherein generating the compacted set of cached index copies includes generating, by the processor, at least one compacted index copy that includes index metadata over a key range based on at least one cached index copy of the identified set of cached index copies that includes metadata over at least a portion of the key range; flagging, by the processor, the at least one cached index copy of the identified set of cached index copies for garbage collection; and performing, by the processor, a garbage collection process on the flagged at least one cached index copy, whereby memory associated with the flagged at least one cached index copy is reclaimed. 3. The computerized method of claim 1 , wherein generating the compacted set of cached index copies includes merging key-value tuples of a plurality of cached index copies of the identified set of cached index copies into a single compacted index copy of the compacted set of cached index copies in a sorted order. 4. The computerized method of claim 1 , further comprising: based on receiving a read data instruction associated with a requested data set, identifying, by the processor, a data location associated with the requested data set based on the compacted set of cached index copies and sending a request to the LSM tree file system at the second site including the identified data location. 5. The computerized method of claim 1 , wherein applying the compaction process to the identified set of cached index copies includes identifying at least one tree level of the LSM tree file system that exceeds an associated tree level capacity based on the metadata of the cached metadata catalog and flagging the at least one tree level for compaction. 6. The computerized method of claim 5 , wherein applying the compaction process to the identified set of cached index copies further includes performing the compaction process over a key range of cached index copies of the identified set of cached index copies associated with the identified at least one tree level. 7. The computerized method of claim 1 , wherein receiving an indication that the LSM tree file system has been compacted based on a compaction process includes receiving the indication from the second site over a network connection. 8. A computer system comprising: a processor at a first site; a non-transitory computer readable medium having stored thereon program code for synchronizing cached index copies at the first site with indexes of a log-structured merge (LSM) tree file system on an object storage platform at a second site, the program code causing the processor to: receive an indication that the LSM tree file system has been compacted based on a compaction process, the indication including a parent catalog version associated with a compacted metadata catalog generated at the second site during the compaction process; access a cached metadata catalog of the included parent catalog version at the first site, the cached metadata catalog including metadata associated with a plurality of sorted data tables of the LSM tree file system; identify a set of cached index copies at the first site associated with the plurality of sorted data table based on the metadata of the cached metadata catalog; apply the compaction process to the identified set of cached index copies based on the metadata of the cached metadata catalog; and based on the application of the compaction process to the set of cached index copies, generate a compacted set of cached index copies at the first site, whereby the compacted set of cached index copies is synchronized with a respective set of indexes of the plurality of sorted data tables of the LSM tree file system at the second site, wherein the first site includes a client, the second site includes a server, and the client and server are in communication via a network. 9. The system of claim 8 , wherein generating the compacted set of cached index copies includes generating, by the processor, at least one compacted index copy that includes index metadata over a key range based on at least one cached index copy of the identified set of cached index copies that includes metadata over at least a portion of the key range; flagging, by the processor, the at least one cached index copy of the identified set of cached index copies for garbage collection; and performing, by the processor, a garbage collection process on the flagged at least one cached index copy, whereby memory associated with the flagged at least one cached index copy is reclaimed. 10. The system of claim 8 , wherein generating the compacted set of cached index copies includes merging key-value tuples of a plurality of cached index copies of the identified set of cached index copies into a single compacted index copy of the compacted set of cached index copies in a sorted order. 11. The system of claim 8 , the program code further causing the processor to: based on receiving a read data instruction associated with a requested data set, identify a data location associated with the requested data set based on the compacted set of cached index copies and sending a request to the LSM tree file system at the second site including the identified data location. 12. The system of claim 8 , wherein applying the compaction process to the identified set of cached index copies includes identifying at least one tree level of the LSM tree file system that exceeds an associated tree level capacity based on the metadata of the cached metadata catalog and flagging the at least one tree level for compaction. 13. The system of claim 12 , wherein applying the compaction process to the identified set of cached index copies further includes performing the compaction process over a key range of cached index copies of the identified set of cached index copies associated with the identified at least one tree level. 14. The system of claim 8 , wherein receiving an indication that the LSM tree file system has been compacted based on a compaction process includes receiv

Assignees

Inventors

Classifications

  • Caching, prefetching or hoarding of files · CPC title

  • G06F16/13Primary

    File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06) · CPC title

  • Hierarchical storage management [HSM] systems, e.g. file migration or policies thereof (details of archiving G06F16/11) · CPC title

  • G06F16/178Primary

    Techniques for file synchronisation in file systems · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11074225B2 cover?
The disclosure herein describes synchronizing cached index copies at a first site with indexes of a log-structured merge (LSM) tree file system on an object storage platform at a second site. An indication that the LSM tree file system has been compacted based on a compaction process is received. A cached metadata catalog of the included parent catalog version at the first site is accessed. A s…
Who is the assignee on this patent?
Vmware Inc
What technology area does this patent fall under?
Primary CPC classification G06F16/13. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 27 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).