-
Notifications
You must be signed in to change notification settings - Fork 72
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
Added transactional caches to external Infinispan #737
base: main
Are you sure you want to change the base?
Conversation
* CROSS_DC_TX_2PC=true|false configures the external Infinispan caches transactions (disabled by default) Other changes include * Use 'dataset-import.sh' script in dataset-import-* tasks * Update ec2-run to match the nightly job * Automatic take-offline for cross-site enabled by default with 30 sec minimum wait time before switching Signed-off-by: Pedro Ruivo <[email protected]>
I did not run any testing. Is your A/A test already merged in the main branch? |
We have the deadlock reproducer here: https://github.com/mhajas/keycloak-benchmark/tree/active-active-deadlock-reproducer |
I can confirm the behavior described here: #730 is still reproducible with this PR. My rosa-cross-dc config:
also, here is session cache config from my deployment: spec:
clusterName: infinispan
name: sessions
template: |-
distributedCache:
mode: "SYNC"
owners: "2"
statistics: "true"
remoteTimeout: "5000"
locking:
acquireTimeout: "4000"
transaction:
mode: "NON_XA"
locking: "OPTIMISTIC"
stateTransfer:
chunkSize: "16"
backups:
mergePolicy: "ALWAYS_REMOVE" # <1>
gh-keycloak-a: # <2>
backup:
strategy: "SYNC" # <3>
timeout: "4500"
failurePolicy: "WARN"
twoPhaseCommit: "true"
stateTransfer:
chunkSize: "16"
takeOffline:
minWait: "30000"
afterFailures: "-1" |
Do you mean deadlocks? Yes, those can still happen. |
I suppose wanted to try |
@mhajas can you point me to the test that you are running? |
@pruivo It is described here: #730 (comment) There is also a |
Other changes include