1
0
Fork 0

revert change

This commit is contained in:
Simon Grätzer 2018-05-12 02:07:00 +02:00
parent 5e4d133324
commit 15000c5989
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ Result removeLargeRange(rocksdb::TransactionDB* db,
++total;
++counter;
batch.Delete(cf, it->key());
if (counter >= 256) {
if (counter >= 1000) {
LOG_TOPIC(DEBUG, Logger::FIXME) << "intermediate delete write";
// Persist deletes all 1000 documents
rocksdb::Status status = bDB->Write(rocksdb::WriteOptions(), &batch);