Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing MutableState cache to host-level by default #5894

Merged
merged 2 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/dynamicconfig/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -1239,12 +1239,12 @@ will wait on workflow lock acquisition. Requires service restart to take effect.
)
EnableHostHistoryCache = NewGlobalBoolSetting(
"history.enableHostHistoryCache",
false,
true,
prathyushpv marked this conversation as resolved.
Show resolved Hide resolved
`EnableHostHistoryCache controls if the history cache is host level`,
)
HistoryCacheHostLevelMaxSize = NewGlobalIntSetting(
"history.hostLevelCacheMaxSize",
256000,
128000,
`HistoryCacheHostLevelMaxSize is the maximum number of entries in the host level history cache`,
)
HistoryCacheHostLevelMaxSizeBytes = NewGlobalIntSetting(
Expand Down
2 changes: 2 additions & 0 deletions config/dynamicconfig/development-cass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ history.ReplicationEnableUpdateWithNewTaskMerge:
- value: true
history.enableWorkflowExecutionTimeoutTimer:
- value: true
history.hostLevelCacheMaxSize:
- value: 8192
2 changes: 2 additions & 0 deletions config/dynamicconfig/development-sql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ history.ReplicationEnableUpdateWithNewTaskMerge:
- value: true
history.enableWorkflowExecutionTimeoutTimer:
- value: true
history.hostLevelCacheMaxSize:
- value: 8192