mirror of https://gitee.com/bigwinds/arangodb
revert change
This commit is contained in:
parent
5e4d133324
commit
15000c5989
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue