Maysam Yabandeh
813719e952
WritePrepared Txn: Duplicate Keys, Memtable part
...
Summary:
Currently DB does not accept duplicate keys (keys with the same user key and the same sequence number). If Memtable returns false when receiving such keys, we can benefit from this signal to properly increase the sequence number in the rare cases when we have a duplicate key in the write batch written to DB under WritePrepared transactions.
Closes https://github.com/facebook/rocksdb/pull/3418
Differential Revision: D6822412
Pulled By: maysamyabandeh
fbshipit-source-id: adea3ce5073131cd38ed52b16bea0673b1a19e77
2018-01-31 18:57:07 -08:00
Dmitri Smirnov
ebab2e2d42
Enable MSVC W4 with a few exceptions. Fix warnings and bugs
...
Summary: Closes https://github.com/facebook/rocksdb/pull/3018
Differential Revision: D6079011
Pulled By: yiwu-arbug
fbshipit-source-id: 988a721e7e7617967859dba71d660fc69f4dff57
2017-10-19 10:57:12 -07:00
Adam Kupczyk
75f7f42d41
Added CPU prefetch for skiplist
...
Summary:
This change causes following changes result of test:
./db_bench --writes 10000000 --benchmarks="fillrandom" --compression_type none
from
fillrandom : 3.177 micros/op 314804 ops/sec; 34.8 MB/s
to
fillrandom : 2.777 micros/op 360087 ops/sec; 39.8 MB/s
Closes https://github.com/facebook/rocksdb/pull/2961
Differential Revision: D5977822
Pulled By: yiwu-arbug
fbshipit-source-id: 1ea77707bffa978b1592b0c5d0fe76bfa1930f8d
2017-10-04 18:12:52 -07:00
Siying Dong
0e99323ac2
Fix CLANG Analyze
...
Summary:
clang analyze shows warnings after we upgrade the CLANG version. Fix them.
Closes https://github.com/facebook/rocksdb/pull/2839
Differential Revision: D5769060
Pulled By: siying
fbshipit-source-id: 3f8e4df715590d8984f6564b608fa08cfdfa5f14
2017-09-07 14:28:06 -07:00
Siying Dong
3c327ac2d0
Change RocksDB License
...
Summary: Closes https://github.com/facebook/rocksdb/pull/2589
Differential Revision: D5431502
Pulled By: siying
fbshipit-source-id: 8ebf8c87883daa9daa54b2303d11ce01ab1f6f75
2017-07-15 16:11:23 -07:00
Yi Wu
df6f5a3772
Move memtable related files into memtable directory
...
Summary:
Move memtable related files into memtable directory.
Closes https://github.com/facebook/rocksdb/pull/2087
Differential Revision: D4829242
Pulled By: yiwu-arbug
fbshipit-source-id: ca70ab6
2017-04-06 14:09:13 -07:00