Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2819

Unable to load an existing partition based local database (back of synced realm) to new flexible sync realm

      How frequently does the bug occur?

      Always

      Description

      We are currently trying to reload the data from an existing partition based synced realm app that has had schema changes made using a javascript program that reads the local realm file, opens the new Synced Realm and writes the data to the new synced realm.

      The load all works fine except the sync fails because the App is a flexible Sync app. How do we load the existing data to the flexible sync real such that the existing Swift and JS clients will continue to work.

      Your documentation seems to indicate that no client side code changes are required but it seems that the clients need to open the realm as flexible sync realms - which would obviously require a code change to the clients.

      Presumably they will be unable to open the partition based synced realm if this change is made?

      If someone could provide a 'dummies' guide to converting from partition based sync to flexible sync that would be much appreciated.

      Thanks

      Stacktrace & log output

      No response

      Can you reproduce the bug?

      Always

      Reproduction Steps

      Connect to new flexible sync app from existing JS client and write data. No errors are shown and no client sync progress is shown.

      Version

      11.10.2

      What services are you using?

      Atlas Device Sync

      Are you using encryption?

      No

      Platform OS and version(s)

      macOS Sonoma

      Build environment

      Which debugger for React Native: NA

      node.js

      Cocoapods version

      NA

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: