Skip to content

Commit

Permalink
adjust log level of the message on forcing num_worker=1
Browse files Browse the repository at this point in the history
  • Loading branch information
ban-nobuhiro committed Sep 28, 2023
1 parent d8e45d6 commit 04b4c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/limestone/datastore_snapshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ void datastore::create_snapshot() noexcept { // NOLINT(readability-function-cog

int num_worker = recover_max_parallelism_;
if (!works_with_multi_thread && num_worker > 1) {
LOG_LP(ERROR) << "this sort method does not work correctly with multi-thread, so force num_worker = 1";
LOG(INFO) << "/limestone:config:datastore this sort method does not work correctly with multi-thread, so force the number of recover process thread = 1";
num_worker = 1;
}
std::mutex dir_mtx;
Expand Down

0 comments on commit 04b4c37

Please sign in to comment.