Thanks Kyle, I do notice that I have the same issue with php driver
too, so I realize it's not C driver, so this post might be mis-
titled.
It's not ideal, but I am able to re-create the stamp server-side by
fetching the entire record, and then re-upserting it with a null
timestamp again. $set doesn't work, but full update does recreate the
stamp serverside.
I may try to submit a feature request. To be honest, the server side
autostamping is such a tremendous feature for what I am doing that I
am surprised other's aren't voicing interest. Basically, it's the
only dependable way to allow for polling of 'new' or 'changed' records
on a non-capped collection (that gets written to by many clients).
You can grab records from a collection with any query filtering,
sorted by this server timestamp. Then, on next request, go back and
get all records where 'ts' > last 'ts' received. I can think of many
other uses for this, such as a message bus, etc. Capped collections
are too restrictive for my needs and I struggled with them for a long
time before finding this (you may have recollection of my many posts
in the past on this subject).
Thanks,
Jeremy