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
Test gap: no multi-node IT covers group / API-token seeding of a newly-added peer #7524
#7373 made addPeer seed the group document and the API-token document as well, and #7513 then moved all three
reads under the ServerSecurity monitor (a seed that read the document before a revocation and submitted it
after would have restored the revoked token on every node). Both changes are covered at unit level - against a
fake HAServerPlugin in Issue7373ClusterWideGroupsAndTokensTest - but nothing drives the real handler through
a real cluster.
What is not covered
A peer added to a live cluster answers a group-gated request with the cluster's permissions rather than
whatever its own server-groups.json holds.
The same for an API token: a token minted on the leader before the join authenticates against the new peer.
The revocation direction, which is the one that matters: a token revoked before the join must NOT
authenticate against the new peer.
These are BaseGraphServerTest-derived (ports from 2480) or container-based, and the change that needs them is
in the seeding path, not in the transport. Writing an IT that the author cannot execute is worse than filing
this: it would land unverified and green only because nobody ran it.
Item 3 is the one worth writing first - it is the security direction, and it is the failure #7521 describes from
the other side.
Added a real 3-node test that adds a peer to a live cluster and checks it correctly picks up the current permission groups and API tokens - including that a token revoked before the peer joined stays revoked, which is the direction that matters for security. No change in behavior, just test coverage that was missing.
❤️ 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
address review: read the token map generation once, synchronize delet…
fix(#7373): write the API-token file atomically and survive an unpars…
fix(#7515,#7524): refuse a self-add by address too, and reach the see…
Merge pull request #7764 from ArcadeData/fix/issues-7515-7523-7524-75…
lvca commentedon Sep 17, 2026
Fixed in PR #7764 (merged).
Added a real 3-node test that adds a peer to a live cluster and checks it correctly picks up the current permission groups and API tokens - including that a token revoked before the peer joined stays revoked, which is the direction that matters for security. No change in behavior, just test coverage that was missing.
❤️ 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#7515,ArcadeData#7523,ArcadeData#7524,ArcadeData#7528,A…