Partition-Based Sync (Legacy)
Parent: MongoDB Realm Mobile Sync · Published reference · snapshot 2026-10-24 · skill mongodb-cohort-0ecd8d6fb6f0
↓ Facts as markdown↓ Portable .llms packagent context libraries
Source-anchored research for Partition-Based Sync (Legacy). Run status: COMPLETED.
These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.
Comparisons and alternatives
- User, team, channel, geographic-region, and time-bucket partitions were documented strategies; region and time ranges required discrete buckets rather than range matching. (low confidence) [source]
- MongoDB's Admin API notice, retrieved October 23, 2026, states that Atlas Device Sync reached end of life on September 30, 2025. Partition-Based Sync should therefore be described as a historical service capability rather than an available hosted-service recommendation. (low confidence) (verified as of 2026-10-23) [source]
- A single partition-based Realm selected an exact partition value rather than a range, pattern, or union of several values. An application needing several partitions could open separate synced Realms. (medium confidence) [source 1] [source 2]
- Range-like use cases required discrete partition buckets. Sharing overlapping data could require duplication in the backend; selecting multiple regions required multiple Realms rather than one range-based partition request. (low confidence) [source]
Facts and statements
- Partition-Based Sync selected one partition field across synced collections; documents sharing its value belonged to the same partition, and a client opened a Realm for that value. (high confidence) [source 1] [source 2] [source 3]
- Choosing a partition value in the client did not itself grant access. Backend partition rules authorized access and could deny it, allow reads only, or allow reads and writes; the legacy permission boundary lacked per-document filtering within that partition. (high confidence) [source 1] [source 2]
- Changing a document’s partition value was implemented as deleting it from one partition and inserting it into another. (low confidence) [source]
- The Realm Lua bootcamp's partition example warns that documents without its required partition field, or with a value different from the opened Realm's value, do not sync down to that device. (low confidence) [source]
- In May 2024, a practitioner reported trouble loading an existing partition-based local Realm database into a new Flexible Sync realm. The report is GitHub issue #6670 in realm-js, opened on May 17, 2024 by duncangroenewald. Sources: https://github.com/realm/realm-js/issues/6670 [source 1] [source 2]
- Stack Harbor's guide, labeled updated 2026-02-17, presents Atlas Device Sync as a working product for keeping a mobile app's local Realm database synchronized with Atlas. This conflicts with MongoDB's documentation, which says Device Sync has reached its end-of-life status. MongoDB's Device SDKs page gives September 30, 2025 as the date the Device SDKs reached end-of-life and were removed. Sources: https://stackharbor.com/en/knowledge-base/mongodb-atlas-sync-mobile/ ; https://mongodb.com/docs/atlas/app-services/sync/device-sync-deprecation ; https://www.mongodb.com/docs/atlas/device-sdks/deprecation.md [source 1] [source 2] [source 3] [source 4]
- Common historical partition strategies used user IDs, teams or stores, channels, geographic regions, or time buckets. The strategy determined which data the device stored and which users shared that data. (low confidence) [source]
- A developer's May 17, 2024 firsthand report describes an existing partition-based synced Realm and a JavaScript workflow that read an existing local Realm file and wrote its data into a synced Realm. This is evidence of historical use, not a general guarantee for every SDK. (low confidence) [source]
Children
- No children recorded.