1. 04 3月, 2014 1 次提交
    • I
      [CF] Fix CF bugs in WriteBatch · f9b2f0ad
      Igor Canadi 提交于
      Summary:
      This diff fixes two bugs:
      * Increase sequence number even if WriteBatch fails. This is important because WriteBatches in WAL logs have implictly increasing sequence number, even if one update in a write batch fails. This caused some writes to get lost in my CF stress testing
      * Tolerate 'invalid column family' errors on recovery. When a column family is dropped, processing WAL logs can have some WriteBatches that still refer to the dropped column family. In recovery environment, we want to ignore those errors. In client's Write() code path, however, we want to return the failure to the client if he's trying to add data to invalid column family.
      
      Test Plan: db_stress's verification works now
      
      Reviewers: dhruba, haobo
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D16533
      f9b2f0ad
  2. 01 3月, 2014 6 次提交
  3. 28 2月, 2014 4 次提交
  4. 27 2月, 2014 7 次提交
  5. 26 2月, 2014 10 次提交
  6. 25 2月, 2014 6 次提交
  7. 24 2月, 2014 2 次提交
  8. 21 2月, 2014 2 次提交
  9. 20 2月, 2014 2 次提交
    • S
      Add a test in prefix_test to verify correctness of results · b2d29675
      sdong 提交于
      Summary:
      Add a test to verify HashLinkList and HashSkipList (mainly for the former one) returns the correct results when inserting the same bucket in the different orders.
      
      Some other changes:
      (1) add the test to test list
      (2) fix compile error
      (3) add header
      
      Test Plan: ./prefix_test
      
      Reviewers: haobo, kailiu
      
      Reviewed By: haobo
      
      CC: igor, yhchiang, i.am.jin.lei, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D16143
      b2d29675
    • K
      Disable putting filter block to block cache · 2b205b35
      Kai Liu 提交于
      Summary: This bug caused server crash issues because the filter block is too big and kept purging out of cache.
      
      Test Plan: Wrote a new unit tests to make sure it works.
      
      Reviewers: dhruba, haobo, igor, sdong
      
      Reviewed By: haobo
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D16221
      2b205b35