Skip to content

Commit

Permalink
fix wal_path is inavlid after separate rocksdb (vesoft-inc#1403)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
  • Loading branch information
critical27 and Sophie-Xie committed Oct 12, 2022
1 parent 0ee30df commit 454a3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kvstore/NebulaStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ std::shared_ptr<Part> NebulaStore::newPart(GraphSpaceID spaceId,
KVEngine* engine,
bool asLearner,
const std::vector<HostAddr>& raftPeers) {
auto walPath = folly::stringPrintf("%s/wal", partPath.c_str());
auto walPath = folly::stringPrintf("%s/wal", engine->getWalRoot());
auto part = std::make_shared<Part>(spaceId,
partId,
raftAddr_,
Expand Down

0 comments on commit 454a3a2

Please sign in to comment.