1. 18 4月, 2014 1 次提交
    • S
      RocksDB 2.8 to be able to read files generated by 2.6 · 5cef458a
      sdong 提交于
      Summary:
      From 2.6 to 2.7, property block name is renamed from rocksdb.stats to rocksdb.properties. Older properties were not able to be loaded. In 2.8, we seem to have added some logic that uses property block without checking null pointers, which create segment faults.
      
      In this patch, we fix it by:
      (1) try rocksdb.stats if rocksdb.properties is not found
      (2) add some null checking before consuming rep->table_properties
      
      Test Plan: make sure a file generated in 2.7 couldn't be opened now can be opened.
      
      Reviewers: haobo, igor, yhchiang
      
      Reviewed By: igor
      
      CC: ljin, xjin, dhruba, kailiu, leveldb
      
      Differential Revision: https://reviews.facebook.net/D17961
      5cef458a
  2. 17 4月, 2014 2 次提交
  3. 16 4月, 2014 12 次提交
  4. 15 4月, 2014 9 次提交
  5. 12 4月, 2014 6 次提交
  6. 11 4月, 2014 9 次提交
  7. 10 4月, 2014 1 次提交
    • I
      Turn on -Wmissing-prototypes · 4daea663
      Igor Canadi 提交于
      Summary: Compiling for iOS has by default turned on -Wmissing-prototypes, which causes rocksdb to fail compiling. This diff turns on -Wmissing-prototypes in our compile options and cleans up all functions with missing prototypes.
      
      Test Plan: compiles
      
      Reviewers: dhruba, haobo, ljin, sdong
      
      Reviewed By: ljin
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D17649
      4daea663