https://github.com/facebook/rocksdb
Revision 1bb4928da9fba1e88500bb39d5a556ccbb3d580e authored by Igor Canadi on 27 April 2015, 22:20:02 UTC, committed by Igor Canadi on 27 April 2015, 22:20:02 UTC
Summary:
Added these events:
* Recovery start, finish and also when recovery creates a file
* Trivial move
* Compaction start, finish and when compaction creates a file
* Flush start, finish

Also includes small fix to EventLogger

Also added option ROCKSDB_PRINT_EVENTS_TO_STDOUT which is useful when we debug things. I've spent far too much time chasing LOG files.

Still didn't get sst table properties in JSON. They are written very deeply into the stack. I'll address in separate diff.

TODO:
* Write specification. Let's first use this for a while and figure out what's good data to put here, too. After that we'll write spec
* Write tools that parse and analyze LOGs. This can be in python or go. Good intern task.

Test Plan: Ran db_bench with ROCKSDB_PRINT_EVENTS_TO_STDOUT. Here's the output: https://phabricator.fb.com/P19811976

Reviewers: sdong, yhchiang, rven, MarkCallaghan, kradhakrishnan, anthony

Reviewed By: anthony

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D37521
1 parent 3db81d5
History
Tip revision: 1bb4928da9fba1e88500bb39d5a556ccbb3d580e authored by Igor Canadi on 27 April 2015, 22:20:02 UTC
Include bunch of more events into EventLogger
Tip revision: 1bb4928
File Mode Size
arcanist_util
build_tools
coverage
db
doc
examples
hdfs
include
java
port
table
third-party
tools
util
utilities
.arcconfig -rw-r--r-- 564 bytes
.clang-format -rw-r--r-- 138 bytes
.gitignore -rw-r--r-- 495 bytes
.travis.yml -rw-r--r-- 1.0 KB
AUTHORS -rw-r--r-- 247 bytes
CONTRIBUTING.md -rw-r--r-- 733 bytes
HISTORY.md -rw-r--r-- 18.5 KB
INSTALL.md -rw-r--r-- 3.3 KB
LICENSE -rw-r--r-- 1.6 KB
Makefile -rw-r--r-- 32.6 KB
PATENTS -rw-r--r-- 1.9 KB
README.md -rw-r--r-- 1.2 KB
ROCKSDB_LITE.md -rw-r--r-- 1020 bytes
USERS.md -rw-r--r-- 1.8 KB
Vagrantfile -rw-r--r-- 862 bytes
src.mk -rw-r--r-- 17.2 KB

README.md

back to top