Using the .NET Realm library version 12.3.0
Running on Ubuntu Linux 24.04 64-bit Intel Xeon
I write a document to my local Realm instance. realm.Add(item true)
returns the item that I wrote as expected.
I look in my Atlas sync logs.
- I see the Sync-Write log has the _id of the document written…
- There are 0 errors related to sync. Any errors in my logs are related to custom functions that are not tied to this sync.
"RealmReceipt": {
"updated": [
"ObjectID(\"66b27a341314b497d5a31e06\")",
"ObjectID(\"66b24f9d1d5a4fcf4fb7f3a2\")"
]
},
When I use Compass to query for the objectId, I get zero results.
Query - {_id : ObjectId('66b24f9d1d5a4fcf4fb7f3a2')}
Results - QUERY RESULTS: 0
Using Compass I dig into the various collections in the __realm_sync database.
I find the _id of the document in the state_RealmReceipt collection.
- It does NOT match the state that I had written in my code. There are values in the state collection that should be different than what they are.
- It does have the
latestVersion
field in the____sync_meta_ collection
that matches the version of the log entry shown in the history collection. - The documentId is NOT present in the
unsynced_documents
collection.
I have plenty of drive space on my server. It is running at 50% right now with lots of room. These write won’t impact drive space at all.
I cannot see ANY errors anywhere.
Help please.