vanadium / issues

Vanadium issue tracker
1 stars 1 forks source link

Syncbase: expose batch commit timestamps #910

Open ivanpi-mtv opened 8 years ago

ivanpi-mtv commented 8 years ago

Syncbase already internally tracks commit timestamps, used for conflict resolution, which are more likely to be correct than system time because of clock sync. Since apps commonly need a last modified timestamp, exposing the timestamps in Scan, Watch, and/or queries (possibly with order by timestamp) would reduce the duplication of apps implementing it themselves.

asadovsky commented 8 years ago

Assigning to Ivan for tracking, though it's not entirely clear yet whether we should do something, and what we should do.

ivanpi-mtv commented 8 years ago

If implemented, clarification is needed that the clock is a best effort real time approximation and not offering guarantees on synchronization or monotonicity (see #918) (although likely to be more accurate and synchronized than native device clock).