Skip to content

Realm::compact writes incorrect file format version #7747

@nirinchev

Description

@nirinchev

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions