]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/log
rocksdb.git
8 years agoBump version to 5.7.2 rocksdb-5.7.2 v5.7.2
Yi Wu [Tue, 15 Aug 2017 21:19:55 +0000 (14:19 -0700)]
Bump version to 5.7.2

8 years agoFix false removal of tombstone issue in FIFO and kCompactionStyleNone
Siying Dong [Tue, 15 Aug 2017 19:51:41 +0000 (12:51 -0700)]
Fix false removal of tombstone issue in FIFO and kCompactionStyleNone

Summary:
Similar to the bug fixed by https://github.com/facebook/rocksdb/pull/2726, FIFO with compaction and kCompactionStyleNone during user customized CompactFiles() with output level to be 0 can suffer from the same problem. Fix it by leveraging the bottommost_level_ flag.
Closes https://github.com/facebook/rocksdb/pull/2735

Differential Revision: D5626906

Pulled By: siying

fbshipit-source-id: 2b148d0461c61dbd986d74655e384419ae442158

8 years agoFix missing stdlib include required for abort()
lxcode [Tue, 15 Aug 2017 19:17:13 +0000 (12:17 -0700)]
Fix missing stdlib include required for abort()

Summary:
If ROCKSDB_LITE is defined, a call to abort() is introduced. This call requires stdlib.h.

Build log of unpatched 5.7.1:

http://beefy9.nyi.freebsd.org/data/110amd64-default/447974/logs/rocksdb-lite-5.7.1.log
Closes https://github.com/facebook/rocksdb/pull/2744

Reviewed By: yiwu-arbug

Differential Revision: D5632372

Pulled By: lxcode

fbshipit-source-id: b2a8e692bf14ccf1f875f3a00463e87bba310a2b

8 years agoempty commit do-not-use-me2
Andrew Kryczka [Mon, 14 Aug 2017 17:27:56 +0000 (10:27 -0700)]
empty commit

8 years agoincrement patch version for 5.7.1 rocksdb-5.7.1
Andrew Kryczka [Sat, 12 Aug 2017 02:09:12 +0000 (19:09 -0700)]
increment patch version for 5.7.1

8 years agofix deletion dropping in intra-L0
Andrew Kryczka [Sat, 12 Aug 2017 01:01:28 +0000 (18:01 -0700)]
fix deletion dropping in intra-L0

Summary:
`KeyNotExistsBeyondOutputLevel` didn't consider L0 files' key-ranges. So if a key only was covered by older L0 files' key-ranges, we would incorrectly drop deletions of that key. This PR just skips the deletion-dropping optimization when output level is L0.
Closes https://github.com/facebook/rocksdb/pull/2726

Differential Revision: D5617286

Pulled By: ajkr

fbshipit-source-id: 4bff1396b06d49a828ba4542f249191052915bce

8 years agoMove blob_db/ttl_extractor.h into blob_db/blob_db.h
Yi Wu [Fri, 28 Jul 2017 21:21:38 +0000 (14:21 -0700)]
Move blob_db/ttl_extractor.h into blob_db/blob_db.h

Summary:
Move blob_db/ttl_extractor.h into blob_db/blob_db.h
Also exclude TTLExtractor from LITE build.
Closes https://github.com/facebook/rocksdb/pull/2665

Differential Revision: D5520009

Pulled By: yiwu-arbug

fbshipit-source-id: 4813dcc272c7cc4bf2cdac285256d9a17d78c7b7

8 years agoBlob DB TTL extractor
Yi Wu [Fri, 28 Jul 2017 06:16:18 +0000 (23:16 -0700)]
Blob DB TTL extractor

Summary:
Introducing blob_db::TTLExtractor to replace extract_ttl_fn. The TTL
extractor can be use to extract TTL from keys insert with Put or
WriteBatch. Change over existing extract_ttl_fn are:
* If value is changed, it will be return via std::string* (rather than Slice*). With Slice* the new value has to be part of the existing value. With std::string* the limitation is removed.
* It can optionally return TTL or expiration.

Other changes in this PR:
* replace `std::chrono::system_clock` with `Env::NowMicros` so that I can mock time in tests.
* add several TTL tests.
* other minor naming change.
Closes https://github.com/facebook/rocksdb/pull/2659

Differential Revision: D5512627

Pulled By: yiwu-arbug

fbshipit-source-id: 0dfcb00d74d060b8534c6130c808e4d5d0a54440

8 years agoReduce blob db noisy logging
Yi Wu [Thu, 20 Jul 2017 21:52:58 +0000 (14:52 -0700)]
Reduce blob db noisy logging

Summary:
Remove some of the per-key logging by blob db to reduce noise.
Closes https://github.com/facebook/rocksdb/pull/2587

Differential Revision: D5429115

Pulled By: yiwu-arbug

fbshipit-source-id: b89328282fb8b3c64923ce48738c16017ce7feaf

8 years agoUpdate java/rocksjni.pom
Siying Dong [Tue, 18 Jul 2017 19:58:57 +0000 (12:58 -0700)]
Update java/rocksjni.pom

Summary: Closes https://github.com/facebook/rocksdb/pull/2610

Differential Revision: D5445705

Pulled By: siying

fbshipit-source-id: d5f97ffdf5bc18b853c3a106755aca96a650e428

8 years agoRemove some left-over BSD headers
Siying Dong [Tue, 18 Jul 2017 18:46:31 +0000 (11:46 -0700)]
Remove some left-over BSD headers

Summary: Closes https://github.com/facebook/rocksdb/pull/2608

Differential Revision: D5444797

Pulled By: siying

fbshipit-source-id: 690581d03f37822e059a16085088e8e2d8a45016

8 years agoAdd back the LevelDB license file
Siying Dong [Mon, 17 Jul 2017 01:35:39 +0000 (18:35 -0700)]
Add back the LevelDB license file

Summary: Closes https://github.com/facebook/rocksdb/pull/2591

Differential Revision: D5432696

Pulled By: siying

fbshipit-source-id: a613230ab916de0b279a65ef429ede65460a8db2

8 years agoRemove the licensing description in CONTRIBUTING.md
Siying Dong [Sun, 16 Jul 2017 22:50:14 +0000 (15:50 -0700)]
Remove the licensing description in CONTRIBUTING.md

Summary: Closes https://github.com/facebook/rocksdb/pull/2590

Differential Revision: D5432539

Pulled By: siying

fbshipit-source-id: 49902453bba3c95c1fb8354441b2198649e52bf4

8 years agoChange RocksDB License
Siying Dong [Sat, 15 Jul 2017 23:03:42 +0000 (16:03 -0700)]
Change RocksDB License

Summary: Closes https://github.com/facebook/rocksdb/pull/2589

Differential Revision: D5431502

Pulled By: siying

fbshipit-source-id: 8ebf8c87883daa9daa54b2303d11ce01ab1f6f75