Skip to content

Commit

Permalink
[Update PR] thread name
Browse files Browse the repository at this point in the history
  • Loading branch information
greensky00 committed Sep 9, 2024
1 parent 681c106 commit a4d2561
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/db_mgr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void DBMgr::initInternal(const GlobalConfig& config) {
t_name = "flusher_oc_" + std::to_string(ii);
break;
default:
t_name = "flusher_" + std::to_string(ii);
t_name = "flusher_gen_" + std::to_string(ii);
break;
}

Expand Down
2 changes: 1 addition & 1 deletion src/jungle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ Status DB::flushLogsAsync(const FlushOptions& options,
&& db_mgr->getGlobalConfig()->numFlusherThreads
> db_mgr->getGlobalConfig()->numDedicatedFlusherForAsyncReqs;
const std::string WORKER_PREFIX =
dedicated_async_flusher ? "flusher_od" : "flusher";
dedicated_async_flusher ? "flusher_od" : "flusher_gen_";

if (options.execDelayUs) {
// Delay is given.
Expand Down

0 comments on commit a4d2561

Please sign in to comment.