-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
txns: make even safer (& drop default txn timeout to 40s)
See embedded comments; by ensuring our txn timeout is less than the session timeout and the rebalance timeout, then if we force a heartbeat before we send EndTxn, we can be prettyyyyy sure that our transaction will either complete successfully before the next heartbeat, or the transaction will time out. This helps avoid the KIP-447 situation for pre-2.5.0 clusters.
- Loading branch information
Showing
3 changed files
with
122 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters