Home
last modified time | relevance | path

Searched refs:random_file_index (Results 1 – 2 of 2) sorted by relevance

/rocksdb-6.9/db_stress_tool/
Ddb_stress_test_base.cc1402 size_t random_file_index = in TestCompactFiles() local
1404 if (files[random_file_index].being_compacted) { in TestCompactFiles()
1410 input_files.push_back(files[random_file_index].name); in TestCompactFiles()
1411 if (random_file_index > 0 && in TestCompactFiles()
1412 !files[random_file_index - 1].being_compacted) { in TestCompactFiles()
1413 input_files.push_back(files[random_file_index - 1].name); in TestCompactFiles()
1415 if (random_file_index + 1 < files.size() && in TestCompactFiles()
1416 !files[random_file_index + 1].being_compacted) { in TestCompactFiles()
1417 input_files.push_back(files[random_file_index + 1].name); in TestCompactFiles()
/rocksdb-6.9/db/compaction/
Dcompaction_picker.cc1086 size_t random_file_index = static_cast<size_t>(rnd.Uniform( in PickFilesMarkedForCompaction() local
1089 if (continuation(vstorage->FilesMarkedForCompaction()[random_file_index])) { in PickFilesMarkedForCompaction()