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

the app has two process,does two process can access the same Realm #4950

Closed
Wlazly opened this issue Jul 11, 2017 · 5 comments
Closed

the app has two process,does two process can access the same Realm #4950

Wlazly opened this issue Jul 11, 2017 · 5 comments
Labels

Comments

@Wlazly
Copy link

Wlazly commented Jul 11, 2017

the Realm java 3.5.0 write"Although Realm files can be accessed by multiple threads concurrently, they can only be accessed by a single process at a time. Different processes should either copy Realm files or create their own. Multi-process support is coming soon."

my app has two processes, does two processes can not access the same Realm?

@beeender
Copy link
Contributor

We don't officially support multi-processes right now. However, you will find even the notification works in the multi-processes environment.

But there are some limitations on multi-processes support, see #1091 (comment)
There might be more some other limitations/issues not listed in the issue for multi-processes support. We won't prioritise issues with multi-processes for now.

@Wlazly
Copy link
Author

Wlazly commented Jul 11, 2017

That is that two processes can access the same Realm, but it has some potential issues??

@beeender
Copy link
Contributor

Yes, please refer to #1091 to see more details.

@Zhuinden
Copy link
Contributor

@Wlazly migrations and encryption have issues, basically.

@beeender
Copy link
Contributor

@Wlazly I am closing this issue now. If you have more questions/suggestions on the multi-process support, we can discuss it in #1091

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 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

4 participants