Skip to content

Commit

Permalink
fixes tserver conditional update thread pool config (apache#5194)
Browse files Browse the repository at this point in the history
When creating the thread pool for metadata conditional update in the
tablet server the config for user tables was used.
  • Loading branch information
keith-turner authored Dec 18, 2024
1 parent 81f58a2 commit e5370d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,9 @@ public TabletServerResourceManager(ServerContext context, TabletHostingServer ts
TSERVER_CONDITIONAL_UPDATE_ROOT_POOL.poolName, rootConditionalPool);

var metaConditionalPool = ThreadPools.getServerThreadPools().createExecutorService(acuConf,
Property.TSERV_CONDITIONAL_UPDATE_THREADS_USER, enableMetrics);
Property.TSERV_CONDITIONAL_UPDATE_THREADS_META, enableMetrics);
modifyThreadPoolSizesAtRuntime(
() -> context.getConfiguration().getCount(Property.TSERV_CONDITIONAL_UPDATE_THREADS_USER),
() -> context.getConfiguration().getCount(Property.TSERV_CONDITIONAL_UPDATE_THREADS_META),
TSERVER_CONDITIONAL_UPDATE_META_POOL.poolName, metaConditionalPool);

var userConditionalPool = ThreadPools.getServerThreadPools().createExecutorService(acuConf,
Expand Down

0 comments on commit e5370d1

Please sign in to comment.