Skip to content

fix: write an analysis namespace another writer changed meanwhile - #86

Merged
bfabio merged 1 commit into
analysis-dialectfrom
analysis-namespace-timestamp
Sep 4, 2026
Merged

bfabio merged 1 commit into
analysis-dialectfrom
analysis-namespace-timestamp

Conversation

@bfabio

@bfabio bfabio commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

The handler compared each incoming namespace with a copy of the row read before the merge and dropped the ones that looked unchanged. A namespace another writer changed between that read and the merge was never written, and the client got 200 with the other writer's value.

The merge now compares against the row it updates: an unchanged namespace keeps its timestamp, a changed one is written.

@bfabio
bfabio force-pushed the analysis-namespace-timestamp branch from 80d9025 to 211016c Compare September 4, 2026 14:17
@bfabio
bfabio force-pushed the analysis-namespace-timestamp branch from 211016c to d3ebc5d Compare September 4, 2026 14:20
@bfabio
bfabio force-pushed the analysis-namespace-timestamp branch from d3ebc5d to 0c01f6e Compare September 4, 2026 14:30
The handler compared each incoming namespace with a copy of the row
read before the merge and dropped the ones that looked unchanged. A
namespace another writer changed between that read and the merge was
never written, and the client got 200 with the other writer's value.

The merge now compares against the row it updates: an unchanged
namespace keeps its timestamp, a changed one is written.
@bfabio
bfabio force-pushed the analysis-namespace-timestamp branch from 0c01f6e to 080b46f Compare September 4, 2026 14:38
@bfabio
bfabio merged commit 5cb0f79 into main Sep 4, 2026
20 checks passed
@bfabio
bfabio deleted the analysis-namespace-timestamp branch September 4, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant