×

Copying garbage collector for B+ trees under multi-version concurrency control

  • US 10,133,770 B2
  • Filed: 06/27/2016
  • Issued: 11/20/2018
  • Est. Priority Date: 12/16/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for use with a distributed storage system comprising a plurality of storage devices, the method comprising:

  • traversing a plurality of search trees to identify one or more elements stored in underpopulated storage chunks of the distributed storage system;

    generating a plurality of copy requests corresponding to the identified elements, each of the copy requests corresponding to a different respective one of the identified elements;

    merging the plurality of copy requests with one or more co-pending data update requests, the merging including discarding a copy request from the plurality of copy requests in response to detecting that the copy request corresponds to an element that is due to be modified by one of the co-pending data update requests;

    executing any remaining, copy requests in the plurality of copy requests by copying respective ones of the identified elements that correspond to the remaining copy requests from the underpopulated storage chunks to different storage chunks; and

    reclaiming storage capacity corresponding to the underpopulated storage chunks.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×