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

[Draft] set DisableInitialHostLookup = true to see if that improves cassandra connectivity time in certain scenarios #1715

Conversation

mastermanu
Copy link
Member

No description provided.

wxing1292 and others added 20 commits June 7, 2021 10:33
* Include namespace in API error log for better debugging exp
* If query task is gone, return not found instead of internal server error
* Make sync match wait time configurable, dynamic config key: `matching.syncMatchWaitDuration`
* Remove unused MatchingEnableSyncMatch dynamic config since sync match should always be enabled
* Split ServiceErrContextTimeoutCounter metrics into ServiceErrContextTimeoutCounter and ServiceErrContextCancelledCounter
* ServiceErrContextCancelledCounter metrics indicates request being cancelled
* ServiceErrContextTimeoutCounter metrics indicates timeout
* Properly calculate lower / higher bound when reading each history branch, otherwise history event branch after fork operation can return more data than requested.
Enabling a Reconnection policy will enable better resiliency in the event that Cassandra nodes happen to churn for a given cluster. We have seen situations where nodes churned, and the only way to recover Temporal was by initiating a reboot. This should address this.

Validated change in a deployed test environment. This is a low-risk change.
* Do not truncate time.Duration to seconds, if conversion is necessary for math, use nano seconds
* Convert core retry function logic to use nil instead of `0 mean infinite`
@mastermanu mastermanu requested a review from a team July 9, 2021 04:00
@mastermanu mastermanu marked this pull request as draft July 9, 2021 04:00
@mastermanu mastermanu closed this Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants