Skip to content

Remove leaf_index from CGKA add operation - #346

Merged
jtfmumm merged 1 commit into
mainfrom
jtfm/remove-add-leaf-index
Nov 5, 2026
Merged

jtfmumm merged 1 commit into
mainfrom
jtfm/remove-add-leaf-index

Conversation

@jtfmumm

@jtfmumm jtfmumm commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

We didn't actually use the leaf_index field on CGKA add operations and, under concurrency, it can be different from the leaf the updated member was actually at. This removes the field.

Note that this breaks the wire format.

@jtfmumm
jtfmumm added this pull request to stack #343 November 4, 2026 17:16
@jtfmumm
jtfmumm requested review from alexjg, ept, expede and pvh as code owners November 4, 2026 17:16

@expede expede left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If only there was a programming language where a small conceptual change (remove unused field) was reflected in a small number LOC change :P Looks good!

@jtfmumm
jtfmumm force-pushed the jtfm/remove-add-leaf-index branch from 51ce1d9 to b0db6b8 Compare November 5, 2026 08:19
@jtfmumm
jtfmumm force-pushed the jtfm/remove-add-leaf-index branch from b0db6b8 to ec179c1 Compare November 5, 2026 08:30
@jtfmumm
jtfmumm force-pushed the jtfm/remove-add-leaf-index branch 3 times, most recently from 2f6ae1d to ed3820b Compare November 5, 2026 11:53
Base automatically changed from jtfm/node-versions-causal-past-removals to main November 5, 2026 11:54
@jtfmumm
jtfmumm force-pushed the jtfm/remove-add-leaf-index branch from ed3820b to 267df30 Compare November 5, 2026 11:54
@jtfmumm
jtfmumm merged commit b5fd307 into main Nov 5, 2026
16 checks passed
@jtfmumm
jtfmumm deleted the jtfm/remove-add-leaf-index branch November 5, 2026 11: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.

2 participants