GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tests: the parallel-four async test holds 'nothing lost without a report' by tae898 · Pull Request #300 · humemai/arcadedb-embedded-python

This repository was archived by the owner on Nov 21, 2026. It is now read-only.

Conversation

@tae898

@tae898 tae898 commented Oct 8, 2026

Copy link
Copy Markdown

test_async_executor_bulk_command_is_exact_at_parallel_four failed on 2 of 20 platforms in run 37824900512 (a docs-only PR): 8,742 of 9,742 rows stored, with one executor-wide on_error reporting a ConcurrentModificationException.

That is not ArcadeData#7615 coming back. Reproduced locally with a Java and a Python driver, 200 runs per configuration on 26.10.1 and on current main, both JDKs: about 1 run in 100 on two cores and 1 in 1,000 on four loses one batch of 1,000, and in every such run all 1,000 per-command error callbacks fire as well as the executor-wide one. That is ArcadeData#7625's design: a batch that still cannot commit after its retries is rolled back and reported. The retries happen back to back with no backoff, which is why four workers appending to one bucket page sometimes use them all up; that is filed upstream as ArcadeData#9529 (with 5 or more retries, or 4 buckets, 0 failures in 400 runs).

The test asserted that every row is stored, so it flaked on a rollback the engine reports correctly. It now asserts the contract it exists for, nothing lost without a report: rows stored plus 1,000 per reported batch equal the rows submitted, and every report is the commit conflict. A batch dropped with no report still fails it. The docstring says why. tests/test_async_executor.py: 17 passed locally on the 26.10.1 wheel.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tae898 @claude
tests: the parallel-four async test holds 'nothing lost without a rep…
c1c7a77
…ort', not 'nothing rolled back'

Under load the fixed engine (ArcadeData#7625, 26.10.1) can still exhaust a batch commit's retries and roll the batch back, reporting it (about 1 run in 100 on two cores; the replays have no backoff, ArcadeData#9529). The test asserted every row stored, so it flaked on that reported rollback (2 of 20 platforms in run 37824900512). It now holds the contract the regression test exists for: rows stored plus 1,000 per reported batch equal the rows submitted, and every report is the commit conflict. A batch dropped with no report (ArcadeData#7615 back) still fails it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tae898
tae898 merged commit b1956b2 into main Oct 8, 2026
48 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@tae898
tae898 deleted the issue/async-test-reported-batch branch October 8, 2026 20:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@tae898
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.