[Developers] timestamp uniqueness

augusto callejas acallejas at appliedminds.com
Fri Apr 17 19:11:45 UTC 2009


hi-

i've noticed when a unique property is updated,
that a delete occurs followed immediately by an
insert, with timestamp value +.0001.  (this insures
the same timestamp up to the millisecond value)

my question is if another unique property is
immediately updated afterwards, will its
delete/insert links have a unique timestamp
up to the millisecond value compared to the
previous timestamp?

that is, would i expect link timestamps like:

2008-08-20T05:27:45.0000Z delete
2008-08-20T05:27:45.0001Z insert
2008-08-20T05:27:45.0010Z delete
2008-08-20T05:27:45.0011Z insert

first two delete/insert have same timestamp up to the millisecond value,
while last two delete/isnert have same timestamp up to the millisecond  
value.

or could i see:

2008-08-20T05:27:45.0000Z delete
2008-08-20T05:27:45.0001Z insert
2008-08-20T05:27:45.0002Z delete
2008-08-20T05:27:45.0003Z insert

all delete/inserts have the same timestamp up to the millisecond value.

   {
     "master_property" : "/business/company/founded",
     "operation" : "delete",
     "source" : {
       "guid" : "#9202a8c04000641f8000000005f43a01"
     },
     "target_value" : {
       "value" : "2006-08"
     },
     "timestamp" : "2008-08-20T05:27:45.0000Z",
     "type" : "/type/link",
     "valid" : null
   },
   {
     "master_property" : "/business/company/founded",
     "operation" : "insert",
     "source" : {
       "guid" : "#9202a8c04000641f8000000005f43a01"
     },
     "target_value" : {
       "value" : "2007-08"
     },
     "timestamp" : "2008-08-20T05:27:45.0001Z",
     "type" : "/type/link",
     "valid" : true
   }

thanks,
augusto.


More information about the Developers mailing list