Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
arpang committed Mar 6, 2023
1 parent f0a48e8 commit b9e4ce3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/yb/consensus/log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ Status Log::Open(const LogOptions &options,
scoped_refptr<Log>* log,
tablet::RaftGroupMetadata* metadata,
CreateNewSegment create_new_segment) {

RETURN_NOT_OK_PREPEND(env_util::CreateDirIfMissing(options.env, DirName(wal_dir)),
Substitute("Failed to create table wal dir $0", DirName(wal_dir)));

Expand Down
2 changes: 1 addition & 1 deletion src/yb/consensus/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class Log : public RefCountedThreadSafe<Log> {
ThreadPool* background_sync_threadpool,
int64_t cdc_min_replicated_index,
scoped_refptr<Log> *log,
tablet::RaftGroupMetadata* metadata = nullptr, // TODO: Can we the default null value?
tablet::RaftGroupMetadata* metadata = nullptr, // TODO
CreateNewSegment create_new_segment = CreateNewSegment::kTrue);

~Log();
Expand Down

0 comments on commit b9e4ce3

Please sign in to comment.