mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valera V Harseko
2 days ago a4c85dec55394fe3ef6005acff6a66b7fbfc464a
refs
author Valera V Harseko <vharseko@3a-systems.ru>
Tuesday, September 1, 2026 20:18 +0200
committer Valera V Harseko <vharseko@3a-systems.ru>
Tuesday, September 1, 2026 20:18 +0200
commita4c85dec55394fe3ef6005acff6a66b7fbfc464a
tree 837252a43aa1b6875bf04b455b02f6e667984a66 tree | zip | gz
parent 52adad385c178dc231693e90b559d677219251eb view | diff
0d16f10774cdc7bc96bfea7f007c7823e650795d view | diff
Merge remote-tracking branch 'origin/master' into issues/903-jdbc-deadlock-retry-window

The replay decision is asked as two questions rather than one: replayReason()
of #879 says what the failure is - it alone reads committing, partlyCommitted
and dropped - and replayableWithin(), the bounds half of replayable(), says
whether the attempt count and the window of #903 allow another. Neither
subsumes the other: a dropped connection is worth replaying and carries no
conflict class, which the class-first form of replayable() would have refused.

conflictOf() keeps the most specific class of #903 and takes the traversal of
#879, walking every chain of the failure without the suppressed links of the
release; isRetryableConflict() is that walk asked as a yes or no.
7 files modified
1 files added
4784 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/backends/jdbc/CachedConnection.java 1363 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/jdbc/JDBCStorage.java 585 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/VLVIndex.java 23 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/backends/jdbc/CachedConnectionTestCase.java 1870 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/backends/jdbc/JDBCStorageRetryTest.java 776 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/backends/jdbc/StampConnectionTestCase.java 16 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/backends/jdbc/TestCase.java 117 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/PluggableBackendImplTestCase.java 34 ●●●●● diff | view | raw | blame | history