Skip to content

Conversation

@yma955
Copy link
Member

@yma955 yma955 commented Aug 26, 2025

No description provided.

@yma955 yma955 requested review from ligangty, ruhan1 and sswguo August 26, 2025 04:47
Group group = (Group) store;
putValueIntoExtra( CassandraStoreUtil.CONSTITUENTS, group.getConstituents(), extras );
// Use admin resource addConstituentToGroup API to add the member of group instead
// putValueIntoExtra( CassandraStoreUtil.CONSTITUENTS, group.getConstituents(), extras );
Copy link
Member Author

Choose a reason for hiding this comment

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

@sswguo Do you think we need to annotate this line? I removed this since it may cause the CONSTITUENTS override race condition, and introduce dirty data, we have new API could cover the members data append instead. But after removing the group update call from Indy Koji: Commonjava/indy@8ad742a, I think this part may not be involved either anymore, there's no need to make any further change on this, WDYT?

Copy link
Member

Choose a reason for hiding this comment

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

yeah, this should be kept as before. We just introduce that new endpoint for adding remote repo, and which does not impact the other parts, like the one creating/updating the group, they still need this to update the members.

@sswguo
Copy link
Member

sswguo commented Aug 28, 2025

LGTM.

@yma955 yma955 merged commit dba5d41 into Commonjava:main Aug 29, 2025
1 check passed
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.

3 participants