Revision 75d7075a8aa0dec5f0a2ef054bce8e17c369206a authored by sdong on 09 June 2015, 06:14:13 UTC, committed by sdong on 09 June 2015, 18:23:29 UTC
Summary: When there are files marked for compaction after compactions, print extra messages to help debugging. Example: 2015/06/08-23:12:55.212855 7ff5013ff700 [default] [JOB 121] Generated table #75: 54 keys, 4807 bytes (need compaction) 2015/06/08-23:12:55.556194 7ff5013ff700 (Original Log Time 2015/06/08-23:12:55.556160) [default] compacted to: base level 1 max bytes base 10240 files[0 1 9 32 12 0 0 0] max score 0.96 (2 files need compaction), MB/sec: 0.0 rd, 0.1 wr, level 2, files in(1, 3) out(5) MB in(0.0, 0.0) out(0.0), read-write-amplify(11.3) write-amplify(5.7) OK, records in: 40, records dropped: 0 Test Plan: Run test and see LOG files. valgrind test DBTest.TablePropertiesNeedCompactTest Reviewers: rven, yhchiang, kradhakrishnan, IslamAbdelRahman, igor Reviewed By: igor Subscribers: yoshinorim, maykov, leveldb, dhruba Differential Revision: https://reviews.facebook.net/D39771
1 parent 406a568
File | Mode | Size |
---|---|---|
backupablejni.cc | -rw-r--r-- | 9.9 KB |
checkpoint.cc | -rw-r--r-- | 1.9 KB |
columnfamilyhandle.cc | -rw-r--r-- | 847 bytes |
comparator.cc | -rw-r--r-- | 2.2 KB |
comparatorjnicallback.cc | -rw-r--r-- | 5.7 KB |
comparatorjnicallback.h | -rw-r--r-- | 3.2 KB |
env.cc | -rw-r--r-- | 2.4 KB |
filter.cc | -rw-r--r-- | 1.5 KB |
iterator.cc | -rw-r--r-- | 3.9 KB |
loggerjnicallback.cc | -rw-r--r-- | 5.8 KB |
loggerjnicallback.h | -rw-r--r-- | 1.4 KB |
memtablejni.cc | -rw-r--r-- | 3.4 KB |
merge_operator.cc | -rw-r--r-- | 1.2 KB |
options.cc | -rw-r--r-- | 118.5 KB |
portal.h | -rw-r--r-- | 25.0 KB |
ratelimiterjni.cc | -rw-r--r-- | 996 bytes |
restorejni.cc | -rw-r--r-- | 6.3 KB |
rocksjni.cc | -rw-r--r-- | 56.3 KB |
slice.cc | -rw-r--r-- | 7.1 KB |
snapshot.cc | -rw-r--r-- | 828 bytes |
statistics.cc | -rw-r--r-- | 1.7 KB |
table.cc | -rw-r--r-- | 3.7 KB |
transaction_log.cc | -rw-r--r-- | 2.5 KB |
ttl.cc | -rw-r--r-- | 6.8 KB |
write_batch.cc | -rw-r--r-- | 7.0 KB |
write_batch_test.cc | -rw-r--r-- | 5.1 KB |
write_batch_with_index.cc | -rw-r--r-- | 11.8 KB |
writebatchhandlerjnicallback.cc | -rw-r--r-- | 3.1 KB |
writebatchhandlerjnicallback.h | -rw-r--r-- | 1.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...