1. 17 5月, 2014 1 次提交
  2. 03 5月, 2014 1 次提交
  3. 23 4月, 2014 1 次提交
    • I
      Print out stack trace in mac, too · f9f8965e
      Igor Canadi 提交于
      Summary: While debugging Mac-only issue with ThreadLocalPtr, this was very useful. Let's print out stack trace in MAC OS, too.
      
      Test Plan: Verified that somewhat useful stack trace was generated on mac. Will run PrintStack() on linux, too.
      
      Reviewers: ljin, haobo
      
      Reviewed By: haobo
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D18189
      f9f8965e
  4. 22 4月, 2014 2 次提交
  5. 05 4月, 2014 1 次提交
  6. 04 4月, 2014 1 次提交
  7. 20 3月, 2014 1 次提交
  8. 14 2月, 2014 1 次提交
  9. 24 1月, 2014 1 次提交
    • K
      Add google-style checker to "arc lint" · d0458469
      kailiu 提交于
      Summary:
      After we reached a consensus on code format, which follows exactly
      Google's coding style, a natural follow-up is to have a style checker
      that can handle stuffs beyond format.
      
      Google already has a powerful style checker "cpplint.py" and,
      luckily, phabricator already provides the built-in linter for it!
      Next time with "arc lint" most style inconsistency will be detected
      (but will not be fixed).
      
      Also I copied cpplint.py to linters directory, which is mostly
      because we may need the flexibility to make some modifications on
      it for our own need.
      
      Test Plan:
      ran arc lint table/block_based_table_builder.cc to see the amazing
      results.
      
      Reviewers: haobo, sdong, igor, dhruba
      
      Reviewed By: haobo
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D15369
      d0458469
  10. 06 1月, 2014 1 次提交
  11. 06 11月, 2013 1 次提交
  12. 24 10月, 2013 1 次提交
    • I
      BlobStore Benchmark · 7e2c1ba1
      Igor Canadi 提交于
      Summary:
      Finally, arc diff works again! This has been sitting in my repo for a while.
      
      I would like some comments on my BlobStore benchmark. We don't have to check this in.
      
      Also, I don't do any fsync in the BlobStore, so this is all extremely fast. I'm not sure what durability guarantees we need from the BlobStore.
      
      Test Plan: Nope
      
      Reviewers: dhruba, haobo, kailiu, emayanke
      
      Reviewed By: dhruba
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D13527
      7e2c1ba1
  13. 29 8月, 2013 1 次提交
    • D
      Introduced a new flag non_blocking_io in ReadOptions. · fc0c399d
      Dhruba Borthakur 提交于
      Summary:
      If ReadOptions.non_blocking_io is set to true, then KeyMayExists
      and Iterators will return data that is cached in RAM.
      If the Iterator needs to do IO from storage to serve the data,
      then the Iterator.status() will return Status::IsRetry().
      
      Test Plan:
      Enhanced unit test DBTest.KeyMayExist to detect if there were are IOs
      issues from storage. Added DBTest.NonBlockingIteration to verify
      nonblocking Iterations.
      
      Reviewers: emayanke, haobo
      
      Reviewed By: haobo
      
      CC: leveldb
      
      Maniphest Tasks: T63
      
      Differential Revision: https://reviews.facebook.net/D12531
      fc0c399d
  14. 16 8月, 2013 1 次提交
    • K
      Clean up the Makefile and the build scripts · 457dcc60
      Kai Liu 提交于
      Summary: As Aaron suggested, there are quite some problems with our Makefile and scripts. So in this diff I did some cleanup for them and revise some part of the scripts/makefile to help people better understand some mysterious parts.
      
      Test Plan:
      Ran make in several modes;
      Ran the updated scripts.
      
      Reviewers: dhruba, emayanke, akushner
      
      Differential Revision: https://reviews.facebook.net/D12285
      457dcc60
  15. 13 8月, 2013 1 次提交
  16. 15 1月, 2013 1 次提交
    • C
      Various build cleanups/improvements · c0cb289d
      Chip Turner 提交于
      Summary:
      Specific changes:
      
      1) Turn on -Werror so all warnings are errors
      2) Fix some warnings the above now complains about
      3) Add proper dependency support so changing a .h file forces a .c file
      to rebuild
      4) Automatically use fbcode gcc on any internal machine rather than
      whatever system compiler is laying around
      5) Fix jemalloc to once again be used in the builds (seemed like it
      wasn't being?)
      6) Fix issue where 'git' would fail in build_detect_version because of
      LD_LIBRARY_PATH being set in the third-party build system
      
      Test Plan:
      make, make check, make clean, touch a header file, make sure
      rebuild is expected
      
      Reviewers: dhruba
      
      Reviewed By: dhruba
      
      Differential Revision: https://reviews.facebook.net/D7887
      c0cb289d
  17. 27 12月, 2012 1 次提交
  18. 15 12月, 2012 1 次提交
    • A
      fixing linters. · 806d4d93
      Abhishek Kona 提交于
      Summary:
      old version of linters use "lint_engine" instead of "lint.engine"
      Some bookeeping in gitignore.
      Reviewers: abhishekk
      806d4d93
  19. 22 11月, 2012 1 次提交
    • C
      Fix ldb segfault and use static libsnappy for all builds · 879e45eb
      Chip Turner 提交于
      Summary:
      Link statically against snappy, using the gvfs one for facebook
      environments, and the bundled one otherwise.
      
      In addition, fix a few minor segfaults in ldb when it couldn't open the
      database, and update .gitignore to include a few other build artifacts.
      
      Test Plan: make check
      
      Reviewers: dhruba
      
      Reviewed By: dhruba
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D6855
      879e45eb
  20. 17 4月, 2012 1 次提交
    • S
      Added bloom filter support. · 85584d49
      Sanjay Ghemawat 提交于
      In particular, we add a new FilterPolicy class.  An instance
      of this class can be supplied in Options when opening a
      database.  If supplied, the instance is used to generate
      summaries of keys (e.g., a bloom filter) which are placed in
      sstables.  These summaries are consulted by DB::Get() so we
      can avoid reading sstable blocks that are guaranteed to not
      contain the key we are looking for.
      
      This change provides one implementation of FilterPolicy
      based on bloom filters.
      
      Other changes:
      - Updated version number to 1.4.
      - Some build tweaks.
      - C binding for CompactRange.
      - A few more benchmarks: deleteseq, deleterandom, readmissing, seekrandom.
      - Minor .gitignore update.
      85584d49
  21. 06 3月, 2012 1 次提交