Skip to content

fix: fix conf load error message - #2672

Merged
AlexStocks merged 1 commit into
OpenAtomFoundation:unstablefrom
Mixficsol:fix_conf
May 23, 2024
Merged

fix: fix conf load error message#2672
AlexStocks merged 1 commit into
OpenAtomFoundation:unstablefrom
Mixficsol:fix_conf

Conversation

@Mixficsol

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions github-actions Bot added the ☢️ Bug Something isn't working label May 22, 2024
Comment thread src/pika_conf.cc Outdated
GetConfStr("loglevel", &log_level_);
GetConfStr("db-path", &db_path_);
GetConfInt("db-instance-num", &db_instance_num_);
if (db_instance_num_ == 0) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (db_instance_num_ <= 0) {
LOG(FATAL) << "db-instance-num load error";
}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@Mixficsol
Mixficsol marked this pull request as ready for review May 23, 2024 02:07
@baerwang
baerwang requested a review from AlexStocks May 23, 2024 03:03
@AlexStocks
AlexStocks merged commit 53a9cef into OpenAtomFoundation:unstable May 23, 2024
@Mixficsol
Mixficsol deleted the fix_conf branch May 23, 2024 05:57
chenbt-hz pushed a commit to chenbt-hz/pika that referenced this pull request Jun 3, 2024
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
byseea11 pushed a commit to byseea11/pikiwidb that referenced this pull request Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

☢️ Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants