-
Notifications
You must be signed in to change notification settings - Fork 573
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
Close or Kill a realm sync process for a synced realm #6006
Comments
@gauravbordoloi Thanks for submitting this issue. Are you closing the realm when the app is closed? |
@takameyer yes i am closing the instances. |
@takameyer Maybe this is fixed in 12.0.0-rc01 as mentioned in release docs. |
@gauravbordoloi It's possible, but I can't confirm 100% of this solves the issue or not. You can try using the current Release Candidate with |
Hi @takameyer
Current Info -
|
@gauravbordoloi Haven't experienced this issue yet. It could be Windows related, but at the moment those tests are passing. Does |
If you were to modify
it might work. We might need to sanitise this through |
Hi @takameyer |
It doesn't even have the |
@gauravbordoloi Good hint. This should be generated during the |
Thanks @takameyer . |
Thanks. @takameyer |
@gauravbordoloi Looking into the logs, it appears both win32 and win64 were outputting to the same path. It's possible the contents of this tgz will work if you put it in the I'll keep looking into what the original issue is as this is a blocker for our next release. |
Thanks @takameyer , putting the file worked. |
Just an update, I was able to figure out our issues with publishing windows binaries. I know that wasn't your original issue, but I still want to thank you for trying this out and making this known. |
New binaries are now uploaded, so it should work now without manually adding the binary to |
Thanks a lot @takameyer By the way the new release candidate is logging every minute internal details including ssh keys for sync probably, etc. Thanks a lot again for the help. |
@gauravbordoloi This version introduces more granular logging and we implemented a default logger that should only be logging warnings and errors. Somehow, in your case, it doesn't seem to be functioning as anticipated. You can, however, use the following methods to modify the logger and its threshold:
|
Hi @takameyer |
@gauravbordoloi Strange, I have tried this in a Windows environment using |
@takameyer You can close this issue. Thanks again :) |
@gauravbordoloi Happy we got that all worked out! Thanks again for your patience with the new release candidate. Solving that issue saved many others from a giant headache 🚀 |
How frequently does the bug occur?
Always
Description
Realm process does not exit when I am closing realm only in case of synced realm. My main issue is I am using Synced Realm with Electron and when I close the electron application, it keeps running in background (doesn't get killed, the synced realm process keeps running)
I tried opening a non synced realm and the process was exiting gracefully.
Is there a way to kill the realm sync process?
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
11.10.1
What services are you using?
Both Atlas Device Sync and Atlas App Services
Are you using encryption?
Yes
Platform OS and version(s)
Node 18.x.x
Build environment
No response
Cocoapods version
No response
The text was updated successfully, but these errors were encountered: