• yiwu-arbug's avatar
    TitanDBImpl::Open only open base DB once (#114) · 0fc61eec
    yiwu-arbug authored
    Summary:
    Refactor `TitanDBImpl::Open` to open base DB only once. Previously we open the DB twice - the first time only to obtain `cf_id` for each CF, and then initialize internals before open base DB for real. The patch change to open base DB only once, initialize internals after that. Before `TitanDBImpl` is initialized, `BaseDbListener` will be no-op and `TableBuilder` will not output blob files.
    
    Test Plan:
    Added new tests
    0fc61eec
Name
Last commit
Last update
cmake Loading commit data...
include/titan Loading commit data...
scripts Loading commit data...
src Loading commit data...
tools Loading commit data...
util Loading commit data...
.clion.source.upload.marker Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
codecov.yml Loading commit data...