]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
log_reader: pass log_number and optional info_log to ctor
authorSage Weil <sage@redhat.com>
Thu, 8 Oct 2015 17:06:16 +0000 (13:06 -0400)
committerSage Weil <sage@redhat.com>
Thu, 8 Oct 2015 17:41:06 +0000 (13:41 -0400)
commit31d3a82eb1f0d47f84804f7465b45f41b6374daa
treed60b0a91f6c02b3a87978a624bdace51949cf057
parent88b46c8558cf55a3f5916af0536a2513ec0e163d
log_reader: pass log_number and optional info_log to ctor

We will need the log number to validate the recycle-style CRCs.  The log
is helpful for debugging, but optional, as not all callers have it.

Signed-off-by: Sage Weil <sage@redhat.com>
db/db_impl.cc
db/log_reader.cc
db/log_reader.h
db/log_test.cc
db/repair.cc
db/transaction_log_impl.cc
db/version_set.cc
db/wal_manager.cc
util/ldb_cmd.cc