Skip to content

Conversation

@tmortagne
Copy link
Member

@tmortagne tmortagne commented Oct 10, 2025

xwiki-platform side of things: xwiki/xwiki-platform#4656

Jira URL

https://jira.xwiki.org/browse/XCOMMONS-3451

Changes

Description

  • Remove leftovers from a previous implementation which did not really made sense anymore (mainly around the concept of "connected user")
  • Add the concept of Remote and Local users
  • Make modifications go through events (even locally) so that other cluster members know about them

TODO:

  • To limit conflicts, a single node should be the reference (for example the cluster leader) and other nodes receive all updates through it.

Clarifications

The general idea is to distribute everything that happens (user joining, leaving, updates) on all cluster nodes.

Screenshots & Video

Executed Tests

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches: 17.10.x

@tmortagne tmortagne force-pushed the feature-realtime-cluster branch 5 times, most recently from 7b23e1c to 651de05 Compare October 15, 2025 16:32
@tmortagne tmortagne force-pushed the feature-realtime-cluster branch 7 times, most recently from 4c568b3 to 04a7ae7 Compare October 27, 2025 10:32
@tmortagne tmortagne force-pushed the feature-realtime-cluster branch from 04a7ae7 to ad7f3f1 Compare October 29, 2025 12:18
@tmortagne tmortagne force-pushed the feature-realtime-cluster branch from ad7f3f1 to 1fbe7f8 Compare November 5, 2025 21:20
@tmortagne tmortagne force-pushed the feature-realtime-cluster branch 2 times, most recently from 8f48a71 to 12ba82c Compare November 26, 2025 16:40
Copy link
Member

@mflorea mflorea left a comment

Choose a reason for hiding this comment

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

Looks good.

@tmortagne tmortagne force-pushed the feature-realtime-cluster branch from 12ba82c to 6ef6ff7 Compare November 27, 2025 11:06
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.

4 participants