-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blob storage pr #2269
Blob storage pr #2269
Commits on May 9, 2017
-
Adding an options class for BlobDB and also Impl class.
Summary: 1. Options Class. 2. Impl class BlobDBImpl 3. made BlobDB::Open Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 586cc5e - Browse repository at this point
Copy the full SHA 586cc5eView commit details -
Header for blob db file and move blobs under a directory
Summary: 1. Header for Blob DB file. version/magic #/ttl etc 2. some more options 3. move blob db under a configurable directory Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 1236402 - Browse repository at this point
Copy the full SHA 1236402View commit details -
Creating a Blob Log reader writer from WAL reader/writer
Summary: to get better control over the header and the blob log, replicating the code from WAL log reader/writer. Will have to figure out later, if this functionality can be merged Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 800147a - Browse repository at this point
Copy the full SHA 800147aView commit details -
support for PutWithTTL and PutUntil.
Summary: Optimized file formats for blobs with proper headers and footers. BlobDB::Open with support for reading the footers at open time and building the in-memory metadata. Test Plan: Rebased the blob db test on top of the changes. Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 841fa14 - Browse repository at this point
Copy the full SHA 841fa14View commit details -
improved file selection for TTL and reuse files after Open
Summary: 1. If files were still open on shutdown, reuse them by opening in append mode. 2. slightly more robust file selection heuristic (Still naive). Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for fbbb4f3 - Browse repository at this point
Copy the full SHA fbbb4f3View commit details -
Adding an options class for BlobDB and also Impl class.
Summary: 1. Options Class. 2. Impl class BlobDBImpl 3. made BlobDB::Open Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 85008bf - Browse repository at this point
Copy the full SHA 85008bfView commit details -
Header for blob db file and move blobs under a directory
Summary: 1. Header for Blob DB file. version/magic #/ttl etc 2. some more options 3. move blob db under a configurable directory Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for c71fb4d - Browse repository at this point
Copy the full SHA c71fb4dView commit details -
Creating a Blob Log reader writer from WAL reader/writer
Summary: to get better control over the header and the blob log, replicating the code from WAL log reader/writer. Will have to figure out later, if this functionality can be merged Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for e495b4e - Browse repository at this point
Copy the full SHA e495b4eView commit details -
support for PutWithTTL and PutUntil.
Summary: Optimized file formats for blobs with proper headers and footers. BlobDB::Open with support for reading the footers at open time and building the in-memory metadata. Test Plan: Rebased the blob db test on top of the changes. Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for d6670b9 - Browse repository at this point
Copy the full SHA d6670b9View commit details -
improved file selection for TTL and reuse files after Open
Summary: 1. If files were still open on shutdown, reuse them by opening in append mode. 2. slightly more robust file selection heuristic (Still naive). Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for bb97952 - Browse repository at this point
Copy the full SHA bb97952View commit details -
Summary: 1. column family support 2. proper sequence numbers 3. GC threads 4. Fsync In different schedule Test Plan: Reviewers:
Configuration menu - View commit details
-
Copy full SHA for 19aa9a3 - Browse repository at this point
Copy the full SHA 19aa9a3View commit details -
Summary: Reindenting parts of file. Reorganizing code. Test Plan:
Configuration menu - View commit details
-
Copy full SHA for d386a42 - Browse repository at this point
Copy the full SHA d386a42View commit details -
Adding a mutex to BlobFile. Better critical sections.
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 5e65993 - Browse repository at this point
Copy the full SHA 5e65993View commit details -
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 4736f77 - Browse repository at this point
Copy the full SHA 4736f77View commit details -
Moving to Read Write Locks for top level mutex. Many more
reads than writes Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 83259d2 - Browse repository at this point
Copy the full SHA 83259d2View commit details -
adding delete handler. Minor fixes
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 453075c - Browse repository at this point
Copy the full SHA 453075cView commit details -
Incremental changes (e.g. Read Write Locks )
Summary: 1. Read Write Locks. 2. Reduce critical section during writes 3. valgrind runs and fixes Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 2ac7825 - Browse repository at this point
Copy the full SHA 2ac7825View commit details -
stackable db fix. more rigorous unit test
Summary: 1. unit test with lot of random blobs 2. stackable db should not take ownership of base db, because we share with blob db. 3. fixing ttl_guess logic for now, to make sure search doesn't miss files. Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 0fb6b3c - Browse repository at this point
Copy the full SHA 0fb6b3cView commit details -
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 98ed0cf - Browse repository at this point
Copy the full SHA 98ed0cfView commit details -
BREAK from delete eviction loop, when you meet a DELETE
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 61fc81f - Browse repository at this point
Copy the full SHA 61fc81fView commit details -
debugged and fixed issues with sequential file buffers. Rewind
Summary: 1. sequential file buffer management 2. rewind functionality 3. some logs for error cases. 4. making the time range of a blob log pick up correct option Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 0be66a3 - Browse repository at this point
Copy the full SHA 0be66a3View commit details -
Reorganizing functions to share with regular no-TTL put
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 54b910b - Browse repository at this point
Copy the full SHA 54b910bView commit details -
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 57b4b3f - Browse repository at this point
Copy the full SHA 57b4b3fView commit details -
Clipping start and end ttls of files
Summary: 1. align the ttl start and end to multiples of ttl_range this keeps the ttl range of files tractable and non-overlapping 2. remove an option from options file Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 6f823f3 - Browse repository at this point
Copy the full SHA 6f823f3View commit details -
Adding a timer queue. Minor changes.
Summary: Also using make format to reformat changes Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for ec1fcea - Browse repository at this point
Copy the full SHA ec1fceaView commit details -
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 70d1a17 - Browse repository at this point
Copy the full SHA 70d1a17View commit details -
Factor out shouldGCFile. Partial file gc
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for eeb7589 - Browse repository at this point
Copy the full SHA eeb7589View commit details -
Adding support for OnFlushBegin listener
Summary: This callback ensures that before a flush happens blob log files are also fsync'd Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 8037851 - Browse repository at this point
Copy the full SHA 8037851View commit details -
Assertions in sequential read and write logs for safety
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 916716a - Browse repository at this point
Copy the full SHA 916716aView commit details -
Framework for WAL-filter callback. BlobDB needs to be created before …
…DB::Open Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for c754683 - Browse repository at this point
Copy the full SHA c754683View commit details -
DestroyBlobDB and another unit test for GC
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 29ac599 - Browse repository at this point
Copy the full SHA 29ac599View commit details -
Delete simple and complex blob test. Adding Put Interface to make sta…
…ckable DB work easier Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 75de09e - Browse repository at this point
Copy the full SHA 75de09eView commit details -
Single Delete, Multi Get and Write handling
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for af6f56f - Browse repository at this point
Copy the full SHA af6f56fView commit details -
making set of open files a multiset.
Summary: 1. open files are now a multiset. 2. fixing minor race condition between async closeSeqFiles and Put 3. more diagnostics and asserts 4. removing lambda's for debug simplicity 5. providig a functor for TTL extraction Test Plan: db_bench Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for ce27f0e - Browse repository at this point
Copy the full SHA ce27f0eView commit details -
Fixing Lint issues and code review feedback
Summary: Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 3824584 - Browse repository at this point
Copy the full SHA 3824584View commit details -
Supported for override callback during compaction
Summary: Added a callback which informs the keys that are being compacted. No Filtering. The EvictAllVersions compaction filter, registers the packet into a lockless queue and marks the blogs evicted Test Plan: OverrideTest added to blob_db_test Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 4c39e0b - Browse repository at this point
Copy the full SHA 4c39e0bView commit details -
Addressing review comments from Siying and Murali
Summary: Review comments from Siying, Murali, Yuslepukhin and Lichuang 1. Relocating files from db area to utilities area 2. Replacing DecodeFixed32/64 and offset calculation with GetFixed32/64 3. removing invalid comments from blob_log_writer.h 4. changing comment style 5. doing make_format again 6. changing the enum style 7. directory fsync on file add and delete 8. putting magic number as last field in footer 9. Making Header Construct use PutFixed32 instead of Encode... 10. Added CRC checks on Get 11. Removing extra option in options.h for flush_begin_listener 12. removing raw pointers from blob log format 13. Removing has_ttl and has_ts and replacing with single unique_ptr 14. Appveyor and Travis failures 15. Better APIs for Column Families. Simplifying interfaces. 16. Compression of Blob Support 17. Splitting into multiple files, to reduce file size 18. GC transaction 1 at a time, instead of all at once 19. Proper bookkeeping of deletes after open of db(crash safety) Test Plan: Reviewers: Subscribers: Tasks: Blame Revision:
Configuration menu - View commit details
-
Copy full SHA for 04a9f0b - Browse repository at this point
Copy the full SHA 04a9f0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c17ee21 - Browse repository at this point
Copy the full SHA c17ee21View commit details