You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Postgres wire test: Issue8135 refusedSetIsRefusedAgainOnReplay cannot fail since #8212 drops the portal at Sync #8261
Found while working on #8217 (PR #8243). Issue8135SetAppliedAtExecuteIT.refusedSetIsRefusedAgainOnReplay is meant to prove the #8135 rule in applyPendingSetting(): the portal's SET marker is cleared only AFTER the SET applied, so retrying a refused SET on the same bound portal (no new Bind) is refused again rather than answered CommandComplete SET.
On the wire that rule cannot be observed any more:
So the test passes whether the marker is cleared before or after the apply. PostgreSQL has the same portal lifecycle, so the invariant may have no wire-observable form at all.
Options
Test the ordering at unit level: drive applyPendingSetting() with a refusing PostgresSessionSettings and assert portal.setting is still set afterwards.
Or drop the ordering guarantee and its test, if no wire path can reach it.
The rule (a refused SET stays pending on the portal, so replaying it is refused again) can no longer be reached over the wire, so it is now covered by a direct unit test. The wire test still checks that a replay is answered with an error, never as a successful SET. No change in behaviour.
❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.
Activity
fix(#8254,#8258,#8261): RAM writes follow the transaction that commit…
Merge pull request #8309 from ArcadeData/fix/issues-8261-8258-8254-8253
lvca commentedon Sep 25, 2026
Fixed in #8309, available in 26.10.1.
The rule (a refused
SETstays pending on the portal, so replaying it is refused again) can no longer be reached over the wire, so it is now covered by a direct unit test. The wire test still checks that a replay is answered with an error, never as a successfulSET. No change in behaviour.❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.
fix(ArcadeData#8253,ArcadeData#8258,ArcadeData#8254,ArcadeData#8261):…