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

Admins cannot open the same synced Realm twice #99

Closed
kraenhansen opened this issue Sep 13, 2017 · 1 comment
Closed

Admins cannot open the same synced Realm twice #99

kraenhansen opened this issue Sep 13, 2017 · 1 comment
Assignees
Labels

Comments

@kraenhansen
Copy link
Member

This is the error printed to electrons stdout:

libc++abi.dylib: terminating with uncaught exception of type realm::MultipleSyncAgents: Multiple sync agents attempted to join the same session

From the sync channel on Slack:

Yavor Georgiev [3:25 PM]
that’s because you’re launching a second electron process that tries to attach a sync session to the same realm file on disk. multi-process sync is not supported right now

So this can probably be fixed by having the RealmBrowserContainer.tsx specify a different path for every synced realm that is opened, here: https://github.com/realm/realm-studio/blob/master/src/ui/realm-browser/RealmBrowserContainer.tsx#L116-L122

@kraenhansen kraenhansen changed the title Admins cannot open the same realm twice Admins cannot open the same synced Realm twice Sep 13, 2017
@kraenhansen kraenhansen self-assigned this Sep 27, 2017
@bmunkholm
Copy link
Contributor

Don't know if it could just be limited that you can only open the same realm once - if that's easier.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants