Skip to content

SEEK-1402: Wait for rollback after retryable abort log submission - #2614

Closed
cms-cms wants to merge 1 commit into
masterfrom
fix/seek-1402-abort-eagain
Closed

cms-cms wants to merge 1 commit into
masterfrom
fix/seek-1402-abort-eagain

Conversation

@cms-cms

@cms-cms cms-cms commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Superseded implementation: PR #2679 merged into master on 2026-11-17 (commit f2ab0fb1f9a26e462ddb5f15a82d673aa4eb4007) and covers this draft's accepted-retry EAGAIN handling. Keep this draft as an evidence record; it should not be merged as a duplicate implementation. Further validation must identify the merged source and its own builds, rather than treating this draft head as the current fix. Existing 02d8 diagnostic results below describe the old behavior and do not validate the merged fix. PR2679 reports Windows fault-injection checks; these have not been independently rerun here and do not satisfy this issue's natural-backpressure, same-call first-rejection or three-platform validation requirements. The merged change accepts all submission failures when retry registration succeeds, while this draft accepts EAGAIN/NOLOGCB; the broader error semantics require separate review.

Task Description

Refs SEEK-1402. Under concurrent transaction stress, explicit ROLLBACK can leak OB_EAGAIN after abort-log submission exhausts its retry budget, although background abort processing continues.

This is not established as Windows-only: Windows x64 old-build failures and a Linux diagnostic return/final-decision chain were observed. The original Windows same-call first PALF rejection and part of its final handling remain missing; macOS reproduction is unverified. The Linux diagnostic first-rejection timing was affected by synchronous logging, so it does not establish an uninstrumented trigger or the original Windows cause.

Solution Description

In ObTxCtx::compensate_abort_log_, accept OB_EAGAIN, alongside the existing OB_TX_NOLOGCB, only after the background retry timer is registered successfully. Explicit rollback then follows the existing wait_write_ctx_decided_ path instead of returning the internal submission error immediately.

This does not return client success on log submission alone. The existing decision wait and its deadline remain in place. Timer registration failures retain the submission error, and other error codes retain their current handling.

Passed Regressions

Linux logged-ABORT admission now covered after observing weak-read readiness (job3137781, parent364389/child364392, test 715d6d9a303f850efd89248e8493f1df15d2bba6, same diagnostic source/package as job3137286, Linux x86_64 DB 2 CPU/4 GiB). The gate observed weak-read SCN 0 then 1794912540714450003; session119/tx48 then submitted 231-byte redo and a 68-byte ABORT. First actual space comparison passed, adapter/append return0, retry0; client rollback0 with zero visible rows. Durable callback and state60 share SCN 1794912544889631014. This covers the path, not EAGAIN or product candidate PASS. Sink173 records/84,101B SHA256 fbfc67accb58494b4d3ae2fb4fd7766316483ce803648c0ceaddebad81a9fbc0; stopped native36,460,277B independently hashed and all sink records matched, no omissions. The transaction driver is byte-identical to the Mac attempt, but Linux adds readiness observations, lifecycle/background work differs, and generated log sizes differ (Mac232/69B vs Linux231/68B with different transaction IDs). This is not identical encoded log input or evidence of platform causality. Do not repeat this successful admission or pair the candidate merely for a green result.

Linux same-driver minor-freeze comparison failed its redo-progress gate (job3137286, test 6afe6ebae254361b9b8898ab1d2319d9990cf0ec, diagnostic source 02d8b6cf29023396811bf20a23f8aa874c50e055, reused package SHA256 8021bf0918aa08fbc1bd1e5dccd9f8d54e0ba2b6187d19ee900b05cd2e8a1f8a, Linux x86_64 DB 2 CPU/4 GiB). Session 114 / transaction 48 remained pending 38 / submitted 0 through 200 bounded observations. The SQL freeze request returned success, but its same-trace async freeze task returned -4263 (OB_MINOR_FREEZE_NOT_ALLOW). The experimental rollback was therefore not issued; connection-close cleanup is separate. Zero PALF ABORT calls: EAGAIN and candidate behavior remain uncovered. The stopped-writer native snapshot independently validates 29,623,086 bytes / SHA256 56d547a0db6fd171fccdff931d84b1245ab445025b97c6fa7c3b5b41256930eb and matches all 169 sink records (82,853 bytes / SHA256 ee7347520102a29f1ede1c0dfa8c7f81c8064d00fc10eff1aeb69bc440e6fb98). This is a freeze-admission difference, not proof of source/platform causality; actual weak-read operands were not captured. An earlier harness attempt job3136696 failed before experimental SQL because an unexported shell variable was read from Python; it also lacked final native suffixes, both corrected before this attempt.

Mac logged-ABORT admission (2026-11-17, manual foreground attempt macos-02d8-freeze-admission-1, macOS 26.2 arm64, 2 CPU/4 GiB): reused diagnostic source 02d8b6cf29023396811bf20a23f8aa874c50e055, binary SHA256 cb12cd334d701b70f8c3db39478b8878ef15302cdfc8160d7ea48da36ee1e876 (package SHA256 0b1b5820a23562ac6589fe30c9cad7da28418f415c688d5a94ad86a15a455b2e). Two single-row transactions used identical INSERT/ROLLBACK SQL; only the second requested minor freeze. Its session 957 / transaction 191 progressed from pending 38 / submitted 0 to pending 0 / submitted 38 with logged callbacks and valid sync SCN. Native records then show a 69-byte ABORT, first actual space comparison passed, adapter/append return 0, retry count 0, client return 0 and zero visible rows; durable callback and local state 60 share SCN 1794909372065437001. The control stayed local with invalid end SCN. This covers the Mac logged-ABORT path, not ABORT EAGAIN or candidate PASS. Sink seal: 12 records / 4,414 bytes, SHA256 c79fecb5257fb0e802fd78268d5399e1e5ee36d96f2007431bcca7d375156a62; all records independently match the full retained native file (36,734,710 bytes, SHA256 c013a645471e89db14adf99344ddbc127bb23c1a72e143f8687af57212835b70). No omissions declared; final-directory/collector evidence does not prove unseen historical rotation generations. Diagnostics perturb timing; sequential phases do not isolate every scheduling difference. Same-input cross-platform comparison and product candidate target validation remain outstanding.

Draft: no target-path runtime regression has passed on candidate fb13c89598f59af20d2d9ee453595b1d09fb5fdd. Local diff/patch checks are static evidence only.

Candidate platform Actual result Remaining gap
Linux x86_64, 6CPU/30GiB job3041674 failed with a memory error; first native failure window missing No target ABORT EAGAIN or fix validation
Windows x64 Builds blocked by other writers; read-only admission does not grant exclusive ownership Candidate build and runtime target test
macOS arm64 Candidate not tested; a separate old-behavior diagnostic now builds and runs a short rollback (details below) Actual PALF ABORT trigger and candidate target test

Ordinary SQL success, NOLOGCB recovery, diagnostic builds and retained-log checks are not target fix PASS. A valid before/after comparison still requires the same observation facility, only the product delta, a real target trigger and complete same-call/client/final-decision evidence. No tests or diagnostics are included in this product PR.

Upgrade Compatibility

No configuration, protocol, or persisted-format changes. The intended behavior change is that rollback waits for its decision after an accepted retryable abort-log submission failure. Runtime compatibility is not yet verified.

Other Information

The product change remains3 additions/3 deletions in ObTxCtx::compensate_abort_log_; diagnostics below are excluded from it. No duplicate PR or merge is requested.

Latest macOS diagnostic (manual foreground attempt macos-02d8-20261117-1648-admission, no CI job): macOS26.2/arm64, source 02d8b6cf29023396811bf20a23f8aa874c50e055; shared capture helpers from test 5b4c5a831ce71965003f26ec9c91789e1409aca7, manual controller SHA256 60a6785439eb3a57637585f83286aac8f827b8068f4fd401b2cc2862691fd834. Build used8 jobs on a256GiB host; runtime used2 CPUs/4G. Package SHA256 0b1b5820a23562ac6589fe30c9cad7da28418f415c688d5a94ad86a15a455b2e; binary SHA256 cb12cd334d701b70f8c3db39478b8878ef15302cdfc8160d7ea48da36ee1e876. One insert/rollback returned0 and left0 rows. Connection956 maps to tx190/local ret0/state60, but its SCN is invalid and redo fill/log number/callback count are0: no PALF ABORT append, first-space comparison, or target EAGAIN was covered. Sink seal independently matched4 records/1256B/hash efe0e4aaeb7dcd7ff34fb6648b86288ae8b678cbe94ea67658ce3b01b5c94270; all4 records occur in the retained native file (32,764,051B/hash 3dcd0a92f0bb79c186d83efc1342dba5b4668c2a70f2df565799d47de48458ce, offset0, no snapshot omissions). This is capture-mechanics evidence with an ABORT-path coverage gap, not candidate fb13 validation or proof of historical rotation completeness. No pressure or paired fixed run followed. Jenkins agent presence was not a blocker to this actual build/run.

Latest Linux diagnostic source: 02d8b6cf29023396811bf20a23f8aa874c50e055; package pipeline-362297-job-3109958, SHA256 8021bf0918aa08fbc1bd1e5dccd9f8d54e0ba2b6187d19ee900b05cd2e8a1f8a, x86_64/6CPU/30GiB. Each row completed6 commits/6 rollbacks; all6 ABORT calls returned0/retry0. Source/package identity and actual reuse checksums were recorded separately.

Diagnostic job / test SHA Distinguishing observation Verdict
3109966 / cc0d3eda76823243b91d9a664d8d909fc6446b44 First actual comparisons passed; headroom4194056–4194204B; all ABORT ended3266us before first mapped writer INSERT redo Target uncovered; client barrier method stopped
3110072 / 6df1406d20e8e6b7aaa031478636b2efa65dc0a0 Preparation moved before release; correct prepare/execute ordering; server gap12490us and near-full headroom Target uncovered; preencoding method stopped
3110083 / 5b4c5a831ce71965003f26ec9c91789e1409aca7 Writer SQL1737–1769B generated unchanged logical payload; content/length/visibility checks passed; server gap4894us, headroom4193808–4194204B Target uncovered; SQL representation method stopped

These intervals use exact INSERT traces and a common server clock. A comparison receipt contains the operands actually consumed, not an atomic global snapshot. Different SQL representations are not strict same-input comparisons; single runs cannot isolate parsing, transfer, expression evaluation or scheduling causes. No nonzero rejection/recovery/error path was exercised. Do not repeat or scale these stopped methods to obtain a green fixed run.

The historical Linux “102B request /30B window” was an adjacent outer snapshot, not the actual atomic comparison operands. Its EAGAIN→timer0→exit-4023→background retry→callback→local ret0/state60/matching SCN chain remains diagnostic evidence; logging/scheduling/backpressure contributions remain inseparable. Resource blockage on Windows/macOS does not constitute Linux fix verification.

Detailed historical evidence and full version/package/job records (qualified by the current conclusions above)

Refs SEEK-1402. Explicit ROLLBACK can return OB_EAGAIN (Try again) when submission of its abort log exhausts the internal retry budget, although background abort processing continues.

Observed on Windows x64 at product 93248f317cd7bbdc6fb63136cc764ca43d6fb2e8: concurrent transaction stress with 6 CPUs and 30 GiB produced three correlated rollback failures after insert/delete or batch-insert transactions. The server logs link each abort-log submission failure to its transaction, explicit ROLLBACK, and error response. Later background submissions succeeded. Offline decoding of original PALF segments identifies all three transactions and TX_ABORT_LOG payloads at their callback LSN/SCN. Record headers, payloads, complete containing groups and adjacent accumulated checksum chains validate, and later persisted committed_end_lsn values cover the three records. This supports committed ABORT-log evidence. Transaction 52489 also has a matching ABORT cache end_scn; original-process final callback/replay processing for the other transactions is not directly observed. A standalone ROLLBACK is not a minimal reproducer.

The affected transaction code is shared and has no Windows-specific branch. Windows reproduction is confirmed. An independent Linux diagnostic build also captured the abort EAGAIN path and its first rejection branch; macOS reproduction remains unverified. This does not establish that the original Windows transactions had the same PALF trigger.

Draft: no runtime regression has passed on candidate fb13c89598f59af20d2d9ee453595b1d09fb5fdd.

  • Local diff and patch application checks passed. These are static checks only.
  • Linux x86_64: candidate build completed after extending the build budget. Package SHA256: 602dc604dbebc578444f61f19402a396cbd904b0934ab499e768602e2ba5a896. With 6 CPUs / 30 GiB, the 7200-second bigtrans_lite run failed after about 52 minutes with No memory or server runtime memory limit reached; exit code 1. The target abort EAGAIN path was not demonstrated. Initial attempts also exposed a removed syslog parameter; the test integration handles its absence for this exact candidate. The retained server log starts after the client failure and does not establish the memory failure cause.
  • Windows x64: candidate builds stopped before native compilation because other writers were active. The latest read-only admission job 3080227 still found five database processes, three debuggers and a target lock. No candidate package or SQL validation result.
  • macOS arm64: the build controller now shares the runtime target resource group and rejects an existing target lock or database/compiler writer. Admission job 3080243 exited 75 because Bazel and Java writers remained active. This coordinates cooperating CI jobs but cannot exclude other writers. Candidate compilation and runtime validation have not run.

Three-platform before/after validation, coverage of the retry path, and evidence of final abort decisions remain required before this draft is ready for review. Workload SQL, data, concurrency, and assertions were retained; the test integration skips the removed syslog parameter only for the exact candidate, a recorded configuration difference from the old build. No test or diagnostic files are included in this product PR.

Independent Linux diagnostics, excluded from this PR and candidate validation
  • Baseline diagnostic b922c7e4cb920e11c18b51e2bfe895a8e1637abb, test 1a312c9357e875d4a71cce3c026b69b159f1a905, job 3063190: tx66547's 102-byte ABORT had an adjacent outer snapshot of30 bytes of group-buffer window (not actual comparison operands). Admission rejected it with EAGAIN; timer registration returned 0 but the function returned -4023. The same context later retried successfully, received on_success at LSN152049012581 / SCN1794625188851475033, and reached local ret0/state60 with matching endSCN. The workload failed later with a separate, uncorrelated client Internal error.
  • Fixed diagnostic 7622cb25da9490cdfd7283b49dea200bc2260f8e adds only this candidate's condition change to the same diagnostics. Test cb49e22e48dc1736c8a2f190cb4e7dd7db3bb56c, job 3063499: failed after 1573.6 seconds with client Timeout. All 92 observed NOLOGCB submissions had timer0/return0 and matching successful callbacks and final state60/endSCN. No ABORT EAGAIN was captured, so the target fix remains unverified.
  • Fixed diagnostic SQL short test, test e64bb0b245be404805fb2ede9783edee99aba8ac, job 3082081: 12 connections completed 768 commits and 768 rollbacks, exit code 0. All 768 rollback contexts had matching durable callbacks and final ret0/state60/endSCN. The complete sink snapshot had 2309 records, no gaps or write failures, and an independently verified hash. One large-request PALF space EAGAIN occurred, but no ABORT submission returned EAGAIN. This passes the SQL short test only, not target-fix validation. Diagnostic source remained 7622cb25da9490cdfd7283b49dea200bc2260f8e, package SHA256 3227fdf28ae3fcfb9da8b8c0a7b2a9272c55ccca0612ee2e48f177329de1882e, Linux x86_64 with 6 CPUs and 30 GiB. An earlier attempt, job 3080266, never reached SQL because startup stalled during replay executor shutdown. Its cause remains unconfirmed. A separate local startup candidate is excluded from this PR and these packages.
  • Extended fixed-diagnostic SQL test, test 01e81550753fcee64c66b9e603a5960e14665539, job 3082370: 12,288 commits and 12,288 rollbacks completed, exit code 0. SQL verified 24,576 committed rows and no visible rolled-back rows. All 12,278 captured durable-abort contexts matched callbacks and final ret0/state60/endSCN. The other ten client rollbacks have no per-connection native mapping. Sink counts, bytes and hash independently matched with no gaps or write failures. The same Linux diagnostic source, package and resources as job 3082081 produced 43 PALF admission EAGAIN events and one LSN-allocation EAGAIN, but no ABORT submission EAGAIN. This still does not validate the target fix.
  • Mixed-size fixed-diagnostic SQL test, test 3f2ca819f79b67177574d22424afaa5000bc0048, job 3083477: 40,960 commits and 12,288 rollbacks completed, exit code 0. SQL verified 24,576 committed rows, 537,919,488 payload bytes and no visible rolled-back rows. All 12,274 captured durable-abort contexts matched final callbacks, with no sink gaps or write failures. Fourteen client rollbacks have no per-connection native mapping. Two small-payload commit sessions completed after the large-write and rollback sessions, but the test still captured only 16 PALF admission EAGAIN events and no ABORT submission failure. The same diagnostic source and package were used. Mixed payload sizes have not established a reliable target trigger.
  • Append-observation diagnostic cabd008b5a51e7ffd44671f42f2f48d8845b74c1, test 60a01320be9c7f5cf028b5624584c740d2e9260e, job 3084588: the same mixed SQL completed 38,563 commits and 12,288 rollbacks, exit code 0, with row-count, payload-byte and rollback-visibility checks passing. All 12,282 captured ABORT append calls returned 0, with sealed block sizes of 68–70 bytes and no adapter retry records. Their durable callbacks matched final state60/endSCN. Six client rollbacks have no per-connection native mapping. Nine retry summaries belonged to large blocks and returned EAGAIN after their 1ms adapter budgets. The complete sink snapshot was independently verified. This rules out hidden budget-level ABORT recovery for the captured calls, but still provides no target ABORT EAGAIN validation. Package SHA256 f549568d036aa1f16632e2304fd3ad2e52738470d3e364f2187d8858c514cf2b; Linux x86_64, 6 CPUs and 30 GiB. Added synchronous observations can affect timing.
  • Small-commit concurrency test, test 092cc90cd5982bf6457b8da03b118826bc9d0bc0, job 3084778: actual roles were 4 large commits, 12 small commits and 6 rollbacks. SQL completed 102,780 commits and 12,288 rollbacks with data checks passing. All 12,287 captured ABORT appends returned 0 without retries and matched durable final decisions. One client rollback lacks a per-connection native mapping. The complete sink snapshot passed independent integrity checks. This does not support further concurrency increases as a target trigger; no target ABORT EAGAIN occurred. Diagnostic source, package and resource budget remained those of job 3084588.
  • The baseline and full fixed-diagnostic bigtrans runs used Linux x86_64, 6 CPUs / 30 GiB / profile4, the same executed JAR and full workload configuration hashes. Retained writer snapshots, record counts, byte counts and event hashes were independently checked. Synchronous diagnostic copies, per-record sync and status publication can affect timing. These diagnostic SHAs are not product candidate fb13c89598f59af20d2d9ee453595b1d09fb5fdd.

Generated-payload SQL discriminator: pipeline362313/362314 job3110083; source 02d8b6cf29023396811bf20a23f8aa874c50e055, test 5b4c5a831ce71965003f26ec9c91789e1409aca7, same Linux x86_64/6CPU/30GiB diagnostic package/hash; actual reuse3110080 checksum OK. Writer SQL1737–1769B generated the same logical32768B row payloads; committed content/length/count and rollback invisibility checks passed (6 commits/6 rollbacks). All6 ABORT ret0/retry0; first comparisons left4193808–4194204B headroom. All ABORT ended4894us before the first exact-trace writer INSERT redo. Five capture gates passed, sink219/103511B sealed, SHA256 d6e549828df384e2223dd5d3018f6ae4cb23b3d0b49f6655e63b1b12c5defb52; native snapshot independently hashed. This SQL representation method is stopped without repetition or scale-up. Different SQL input prevents strict same-input attribution; one run does not separate transport, parsing, expression evaluation or scheduling effects. No target EAGAIN, nonzero/recovery-path validation or candidate PASS.

Pre-encoded client timing discriminator: pipeline362308/362309 job3110072, diagnostic source 02d8b6cf29023396811bf20a23f8aa874c50e055, test 6df1406d20e8e6b7aaa031478636b2efa65dc0a0, same Linux x86_64/6CPU/30GiB package/hash as job3109966; actual reuse3110069 checksum OK. All12 prepare intervals ended before execute. Six commits/six rollbacks completed, all6 ABORT ret0/retry0, all first comparisons passed with4194056–4194204B headroom. All ABORT adapter calls ended12490us before the first exact-trace writer INSERT redo call. Five capture gates passed; sink219/103499B sealed, SHA256 0c6749fa7a0490d2110343fd2104efdfc1f9c69fac92b4eba1ff5d951a8381ee, native snapshot independently hashed. Preencoding is stopped as a sufficient coordination method: no repeated run, fixed delay or scale-up. One run does not attribute scheduling changes to preencoding. Target EAGAIN/nonzero rejection/recovery and three-platform product-candidate validation remain uncovered.

Latest first-comparison telemetry admission: Linux x86_64/6CPU/30GiB, pipeline362299/362301 job3109966; diagnostic source 02d8b6cf29023396811bf20a23f8aa874c50e055, test cc0d3eda76823243b91d9a664d8d909fc6446b44; package pipeline-362297-job-3109958, SHA256 8021bf0918aa08fbc1bd1e5dccd9f8d54e0ba2b6187d19ee900b05cd2e8a1f8a, actual reuse3109961 checksum OK. Six commits/six rollbacks completed; all six ABORT calls returned0/retry0. All six first actual space comparisons passed with 100B requests, capacity4194304B and request LSN only0 or148B above min(ref_reuse,reuse), leaving4194056–4194204B after the request. Thus this admission did not approach space refusal at ABORT; cumulative redo/client overlap was insufficient evidence. First-comparison, ABORT-scope, space-schema, armed-redo and redo-sequence gates passed. Sink219 records/102859B sealed, hash f435426e584d1f7009780dc80e7cebd2407f8a53f321ae1158e5c470147a9987; native snapshot independently hashed. No EAGAIN, no nonzero/recovery-path validation, no candidate PASS. Do not expand or repeat this stopped trigger method. These are comparison-consumed operands, not an atomic global snapshot; instrumentation timing limitations remain.

Latest Linux diagnostic admission (2026-11-17): pipeline 362287/362289, job3109938, source e72695e243e096478dcb20c3d2e0ddad1480831c, test 6f2faab01ebf8d22bef138f95cf721d1bf998246, package pipeline-362279-job-3109900, SHA256 52f551434f6facd32cfb843c6e9deb89df2921bc92389f15a3760c65f8964a07, x86_64/6CPU/30GiB; actual reuse3109922 checksum OK. One round completed 6 commits/6 rollbacks, 192 visible committed rows and zero rollback rows. Effective hidden parameters were read from the runtime table (16K/True/16M). Sealed sink 213 records/101015 bytes, SHA256 977a1eac84f518f5dcf867c03c08e102b49136a16fe3c169ca6e8cbd55ba783f; native directory snapshot hash verified. All 180 armed redo receipts had complete sequences, and all 12 INSERT traces mapped to redo; all 6 ABORT calls returned 0 without retry. None of the six ABORT adapter intervals overlapped the writer INSERT redo adapter intervals. This client barrier method is stopped without expanding the run. Outstanding buffer occupancy is not excluded by interval non-overlap. No ABORT EAGAIN, no nonzero comparison/recovery validation, and no product-candidate PASS. Three-platform candidate verification remains incomplete.

Latest capture admission remains failed / target uncovered, not validation of candidate fb13c89598f59af20d2d9ee453595b1d09fb5fdd. No new pressure or paired fixed run was admitted after these failures.

Capture admission failures: jobs3109758 and3109896
  • Prepare3109758, parent362257 / child362262, test 55edfbea807d36e6ee4eb11a83565b19d397c24e, diagnostic source 18fdcf3d94d86b16592f12ce0f407cd566c5a2e9: job SUCCESS (422.526991 s), but the process-wide 8,192-record redo allowance overflowed before the intended pressure phase. The sink itself was complete (8,412 records / 3,807,858 bytes, independently verified hash); this does not make the omitted redo suffix complete. The only ABORT returned0 without retry. Two native files totaling515,096,058 bytes independently matched their hashes, and actual test.properties matched its receipt; native evidence is an exit-directory snapshot. Linux x86_64 / 6 CPUs /30 GiB /profile4; package pipeline-362223-job-3109518, SHA256 36cfde94b54c2b4f5cf239492feaceb76aadca6440a9c3e8f104a6e6477f4326, actual reuse3109741 checksum verified. Admission failed; no target chain.
  • One-round admission3109896, parent362276 / child362277, test e8744750c77c228b08dc0bb8e25e95b0d0d8dc8c, diagnostic source ae572f4f4f75f7f2ba7ba7cf53daaf61f2019248: FAIL (104.599865 s), before arm or client SQL intervals, because live sink status was absent. The readiness script also mistakenly sent SIGUSR1, which this version handles as prepare_stop/set_stop; that readiness call was removed, with no unchanged rerun. The sink manifest is incomplete. The first31,531,469-byte native snapshot independently matched its hash; later already-retained receipts do not prove the final tail. Linux x86_64 / 6 CPUs /30 GiB /profile4; package pipeline-362269-job-3109864, SHA256 790840250ad2b1ca14849900f574ae8e08949b6bbbe4774b0323b97fcd32a36c, actual reuse3109885 and runtime download checksums verified. This failure exercises no product ABORT behavior.

The changed diagnostic method arms redo capture after workload connections are ready, without raising the record or sink limits. Post-call file checks, counters and output can still affect scheduling. Runtime arm/trace mapping and the nonzero comparison/recovery path remain unverified. All diagnostic and capture changes are excluded from this product PR.

Bounded decision-phase diagnostic job3108846, test 3a5385db92400ff6677f9ef17e9727f86f5b005c, source f04f2285032f06595eb4ec6e037723d37ddbc57e, Linux x86_64 / 6 CPUs / 30 GiB / profile4, reused package pipeline-362052-job-3107383 SHA256 e4587108f40a66fe9c1641213d0c90326a645158826b677606c748a18c3b6cd0: 12 connections completed 768 commits and 768 rollbacks with row/payload/rollback-visibility checks passing. Every rollback client interval overlapped a same-round commit interval. All 768 rollback traces uniquely matched ABORT calls, and transaction/context plus matching SCN linked durable callbacks to successful final state60. Nevertheless, all ABORT calls succeeded on their first attempt; no nonzero rejection or target error was exercised. Sink counts/bytes/hash independently matched (3,843 records / 1,362,628 bytes, no gaps or failures); the one 40,478,307-byte exit-directory native file independently matched its hash. SQL ran about 5.5 s within a 120 s cap; the job took 120.90 s including setup/collection. Client decision overlap does not establish PALF admission overlap: redo can also be submitted during writes. This method was stopped without scaling, repeating, or running a fixed pair. This is diagnostic success-path evidence, not validation of candidate fb13. The preceding prepare-only job3108152, test 166d90e8b3bc83450ed6bc866da12a804463dce7, verified two zero-retry receipts, configuration retention and the exit snapshot only; nonzero comparison/recovery export remains unverified.

Space snapshot qualification: earlier diagnostics read reuse/committed values outside the actual group-buffer comparison, which rereads reuse. The quoted 30-byte and later 41/0/91/17/47/52-byte remaining-space values are retained adjacent snapshots, not an atomic image of the comparison operands. Their space-rejection branches and error/decision records remain observed, but exact instantaneous margins and which progress restored capacity are unproven. All six later first snapshots had equal reuse and committed bounds, so they do not identify a uniquely limiting side. Source f04 records values consumed by the comparison and a separate first passing comparison after rejection; neither its nonzero path nor its error-time snapshot has yet been exercised.

Latest old-behavior diagnostic job3096682, source d1bf76950c093704fc2c2d04b92ad1f3ad04fa77, test 46130e033280ae3e071c74315858b63f588aef96, Linux x86_64 / 6 CPUs / 30 GiB / profile4, package pipeline-361002-job-3093595 SHA256 07b893e0778b236e107105294445eeb0ecc3c7c0fe24d847d3e7e2d08b692625: completed in 7964.27 s, but did not reproduce ABORT EAGAIN escaping the adapter. All 8,883 captured ABORT append calls returned 0; seven recovered internally (2.568–42.379 ms). Six first retained rejections had insufficient group space for 102 bytes; the seventh exceeded the allocator LSN upper bound by 10 bytes. This does not establish the original Windows first cause or sustained rejection beyond 50 ms. Sink counts/bytes/hash independently matched (86,269 records / 28,296,787 bytes), but tx118949 retained only 64 events and omitted 358, so per-call event history is incomplete. Two exit-directory native files independently matched their hashes; this is not proof of all historical rotations. The actual test.properties artifact was absent, so independent full-input equivalence was not verified. No paired fixed run was started.

A separate bounded first/last-per-branch diagnostic, source c23966c1dfdcb8e7adf70350868ea9a51a2ca023, built in job3103840 (controller d41544c0b9c8f6913346a35a0cf3d8c45d98ba7c). Linux x86_64 package pipeline-361802-job-3103840 SHA256 35369ac4394e98b336b78aff8ced352e90d8b45b3e2de5bc5430501e9cddecef passed actual reuse checksum validation in job3105086. Its prepare-only job3105303, test f69a119b1e0fac3f323715d5de8d26e72547ac11, completed in 376.88 s: three ABORT calls returned 0 without retry, with unique zero-event receipts. Sink seal/count/bytes/hash matched (215 records / 67,162 bytes, no gaps or write failures), actual test.properties matched its receipt, and two native snapshot file hashes matched. This verifies only the zero-retry lifecycle; nonzero first/last export and the target failure remain uncovered. Aggregated omitted events are not a complete per-attempt history. These diagnostics are excluded from this PR and do not validate candidate fb13; no new full or fixed-pair run has been started.

Deferred-capture old-behavior baseline job3090187, source 4144a70a05bdda39a18d91326af1544bc6961b0f, test f328ee8310937e4c4c286bbf773ebb12442ffd18, Linux x86_64 package SHA256 b0a3c404f0dbbb97e4e9d6905beb590e0a8c463d80c57821378547483ffd2c97: FAIL, 2423.28 s, client memory-limit error. Exact workload configuration hash matches the earlier full run. The sink reached its 256 MiB budget at 16:06:50, before the first client error at 16:20:44; 796,031 records were written versus 1,199,089 seen. The retained prefix independently validates, with 638 NOLOGCB abort failures and no captured abort EAGAIN, but the missing suffix prevents a whole-run target-absence conclusion. Native retained logs begin at 16:20:50, after the first client failure. This attempt is inconclusive and the paired fixed run was not started. Neither host physical-memory exhaustion nor a shared cause with abort EAGAIN is established.

Diagnostic timing limitation: the prior Linux first-rejection evidence was collected with synchronous diagnostic output inside the unchanged 50 ms abort retry budget. The retained target chain spans 85.607 ms from space snapshot to submission failure; it cannot separate logging, scheduling and actual backpressure time. The observed return/decision chain remains evidence for that diagnostic run, but it does not prove an uninstrumented product trigger or identical Windows first cause. A separate deferred-capture diagnostic build (eb3a881a09da27d6c648ba7fdd28e027fb35cec5, Linux x86_64 package SHA256 fc560cca26be2c5f08c24dfcbe1a85418007890183cf471aa4ffc7c2cda759ba) has built successfully; its prepare-only lifecycle job3087123 succeeded (428.99 s, test 2541ef0225377dbb875c4f5c23ed27e98a6e65ac). The sink independently validated 147,908 records / 50,706,998 bytes; all 6,622 deferred groups (103,365 events) matched their receipts and retry summaries, with zero dropped records. Both captured ABORT calls succeeded without retry, so the target ABORT EAGAIN was not exercised. This validates diagnostic export for this lifecycle, not the product candidate. Existing product logs and post-call export can still affect scheduling.

Based on master 3a524d1d800686e62e416c6e565547b11a98a87b. This draft addresses the transaction layer's handling of a retryable submission failure; it does not change PALF admission or buffer capacity. The Linux diagnostic trigger is an exhausted reusable in-memory group-buffer window, not independent evidence of disk-capacity exhaustion. The original Windows first rejection branch remains unproven. A retained first-error scan covered 180 files (46,883,369,554 bytes). Failure-window PALF logs show admission and LSN/log-ID upper-bound EAGAIN events, but none carries the three target traces; these events are contextual evidence, not proof of their individual first causes. No data corruption, incorrect query results, or platform exclusivity has been demonstrated.

Release Note

Make rollback wait for its transaction decision when an abort-log submission temporarily needs retry and background retry has been accepted.

Co-authored-by: antmultica-agent <agent@antmultica.alipay.com>
@github-actions github-actions Bot added the community Contribution from community. label Nov 12, 2026
@cms-cms cms-cms closed this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Contribution from community.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant