Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Is Not Getting Synced in multiscope environment #1281

Open
arjunbharara opened this issue Dec 5, 2024 · 4 comments
Open

Data Is Not Getting Synced in multiscope environment #1281

arjunbharara opened this issue Dec 5, 2024 · 4 comments

Comments

@arjunbharara
Copy link

Setup 1:
Server A (acting as the server)
Server B (acting as the client)
Scope Name: active_passive
Direction: Bidirectional
Setup 2:
Server C (acting as the server)
Server D (acting as the client)
Scope Name: active_passive
Direction: Bidirectional
Additional Sync:
Sync from Server B to Server D
Scope Name: DCDR
Direction: Download-only (from Server B to Server D)
Issue:
I insert data into Server A, which gets synced to Server B via the active_passive scope.
The DCDR sync runs, transferring the data from Server B to Server D.
However, when Server D receives this data, it does not sync it with Server C, even though the active_passive scope between them is bidirectional.
Observations:
I also noticed some unusual behaviors in the logs/screenshots that might explain this issue.
dcdr
this picture from my server D
why there is identical id is being created

dcdr2
And this picture is from Server B
and here it has different

Help me this please.
What could be causing Server D to not sync the data with Server C?

@arjunbharara
Copy link
Author

I think this might help you

tracking

this is picture when Server B data get synced with Server D(DCDR) sync but this record does not get synced with Server C

@Mimetis
Copy link
Owner

Mimetis commented Dec 5, 2024

You can't have multiple servers
Only One

You can have
Server A: Server
Server B: Client
Server C: Client
Server D: Client

B can sync ONLY with A
C can sync ONLY with A
D can sync ONLY with A

@arjunbharara
Copy link
Author

they are different setup not one where only one server will be there.
so in every setup there will be one server
problem is in when i am trying to sync two clients from different setup and making one acting as Server.
One more thing i tested that if I sync My server B(client of setup -1) to my Server-c(which is server of setup-2) it gets synced to the Server D.(works fine )

@Mimetis
Copy link
Owner

Mimetis commented Dec 5, 2024

One database that is Client can not become a Server
One database that is Server can not become a Client
One database that is Client can not sync to multiple Servers

The only topology is
1 Server that sync with X Clients
X Clients that sync to this 1 Server

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

No branches or pull requests

2 participants