1. 29 10月, 2015 4 次提交
    • S
      Move include/posix/io_posix.h to util/io_posix.h · 47414c6c
      sdong 提交于
      Summary: include/posix/io_posix.h is not a public API. Although include/posix/ is not a public header directory, it is confusing to put non-public headers to under include/. Move it to util/ to be clearer.
      
      Test Plan: Run all tests
      
      Reviewers: rven, IslamAbdelRahman, anthony, kradhakrishnan, yhchiang, igor
      
      Reviewed By: igor
      
      Subscribers: leveldb, dhruba
      
      Differential Revision: https://reviews.facebook.net/D49611
      47414c6c
    • S
      Revert "Avoid to reply on ROCKSDB_FALLOCATE_PRESENT in include/posix/io_posix.h" · 2889df84
      sdong 提交于
      This reverts commit c37223c0.
      2889df84
    • S
      Merge pull request #795 from yuslepukhin/fix_mocktable_id · 28c8758a
      Siying Dong 提交于
      Fix MockTable ID storage
      28c8758a
    • D
      Fix MockTable ID storage · 5c8f2ee7
      Dmitri Smirnov 提交于
        On Windows two tests fail that use MockTable:
        flush_job_test and compaction_job_test with the following message:
        compaction_job_test_je.exe : Assertion failed: result.size() == 4,
        file c:\dev\rocksdb\rocksdb\table\mock_table.cc, line 110
      
        Investigation reveals that this failure occurs when a 4 byte
        ID written to a beginning of the physically open file (main
        contents remains in a in-memory map) can not be read back.
      
        The reason for the failure is that the ID is written directly
        to a WritableFile bypassing WritableFileWriter. The side effect of that
        is that pending_sync_ never becomes true so the file is never flushed,
        however, the direct cause of the failure is that the filesize_ member
        of the WritableFileWriter remains zero. At Close() the file is truncated
        to that size and the file becomes empty so the ID can not be read back.
      5c8f2ee7
  2. 28 10月, 2015 7 次提交
  3. 27 10月, 2015 8 次提交
  4. 25 10月, 2015 1 次提交
  5. 23 10月, 2015 4 次提交
  6. 22 10月, 2015 2 次提交
    • J
      Split posix storage backend into Env and library · 6e6dd5f6
      Javier González 提交于
      Summary: This patch splits the posix storage backend into Env and
      the actual *File implementations. The motivation is to allow other Envs
      to use posix as a library. This enables a storage backend different from
      posix to split its secondary storage between a normal file system
      partition managed by posix, and it own media.
      
      Test Plan: No new functionality is added to posix Env or the library,
      thus the current tests should suffice.
      6e6dd5f6
    • A
      Fix a bug in GetApproximateSizes · 980a82ee
      Alexey Maykov 提交于
      Summary: Need to pass through the memtable parameter.
      
      Test Plan: built, tested through myrocks
      
      Reviewers: igor, sdong, rven
      
      Reviewed By: rven
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D49167
      980a82ee
  7. 21 10月, 2015 7 次提交
  8. 20 10月, 2015 7 次提交