Skip to content

Commit

Permalink
Fix opening a sync realm that is already open elsewhere (#1594)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Sep 8, 2023
1 parent b3a348b commit 8cc828e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

### Fixed

- None
- Fixed an issue where opening a synchronized Realm that is open in another process would result in an error with a message `History type not consistent`. ([#1593](https://github.com/realm/realm-studio/issues/1593))

### Internals

Expand Down
1 change: 1 addition & 0 deletions src/ui/reusable/RealmLoadingComponent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export abstract class RealmLoadingComponent<
if (
error instanceof Error &&
(error.message.includes('Incompatible histories.') ||
error.message.includes('History type not consistent') ||
error.message.startsWith(
'History type (as specified by the Replication implementation passed to the DB constructor) was not consistent across the session',
) ||
Expand Down

0 comments on commit 8cc828e

Please sign in to comment.