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

Realm::compact writes incorrect file format version #7747

Closed
nirinchev opened this issue May 29, 2024 · 3 comments · Fixed by #7753
Closed

Realm::compact writes incorrect file format version #7747

nirinchev opened this issue May 29, 2024 · 3 comments · Fixed by #7753
Assignees

Comments

@nirinchev
Copy link
Member

After calling Realm::compact on a file, it appears the wrong file format version is written in the compacted copy. This causes Realm studio to prompt for an upgrade and if the schema mode is soft reset, it will wipe the data, even though no migration is required.

Copy link

sync-by-unito bot commented May 29, 2024

➤ PM Bot commented:

Jira ticket: RCORE-2145

@jedelbo
Copy link
Contributor

jedelbo commented May 30, 2024

@nirinchev Can you reproduce this error?

@nirinchev
Copy link
Member Author

Yes, I'll send you the files on Slack.

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

Successfully merging a pull request may close this issue.

2 participants