]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Bring read_only into ttl 1.5.9.2.fb
authorMayank Agarwal <amayank@fb.com>
Fri, 10 May 2013 21:19:47 +0000 (14:19 -0700)
committerMayank Agarwal <amayank@fb.com>
Fri, 10 May 2013 23:15:08 +0000 (16:15 -0700)
commit85688c8b8ad985943514c456070896a5b5ef0e1b
treec09222827d01a31e256effcae2d4a588a9314e79
parent6b4dc4450b7528f705576cf4201d11367e62c190
Bring read_only into ttl

Summary: added an argument to openttldb for read only and open the db in normal readonly mode if the arguments is set to true

Test Plan: make ttl_test; ./ttl_test

Reviewers: dhruba, haobo, vamsi, sheki

Reviewed By: dhruba

CC: leveldb
Differential Revision: https://reviews.facebook.net/D10749
include/utilities/utility_db.h
utilities/ttl/db_ttl.cc
utilities/ttl/db_ttl.h
utilities/ttl/ttl_test.cc