Hi all,

I have two CouchDB (v1.6.1) servers, fully synchronized between them (master-to-master).
The uuids algorithm is utc_id.
The servers are synchronized via ntp and there is practically no time offset between them.
I notice a strange behavior of the ID's of newly posted documents.
In some cases, posting to server1, will generate ID, which is later than a subsequent post to server 2.
E.g., posting to server 1 generates ID:
05188e0805067f_1
and then, few seconds later, posting to server 2 generates:
05188de92ef02f_2
As you see, the timestamp of the second message is earlier than the first (_1 & _2 are suffixes for the two servers). This is causing me a big mess, as I use the timestamp to sort and order documents.
Any idea why this happens?
Can someone, please, shed more light on how CouchDB "reads" the time for the generation of the ID?
Or if you have an idea what may be causing this behavior.

Thanks in advance!

------------------------------------------------------------------------
*With best regards,*
Kiril Stankov,

Reply via email to