ovsdb: write commit timestamps to millisecond resolution.
authorPaul Ingram <pingram@nicira.com>
Sat, 14 Sep 2013 01:52:54 +0000 (18:52 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 16 Sep 2013 17:55:16 +0000 (10:55 -0700)
commit1ff1065c32df20a751c3d33cf2f67b798c5cf119
tree1e6f4d2ffb616f5ad6264b8ce8ba84a38cc745ca
parent2958f35b7e1b2d468f6a908121d80e07c15ba22b
ovsdb: write commit timestamps to millisecond resolution.

This is expected to make system debugging easier.

This raises two compatibility issues:
1. When a new ovsdb-tool reads an old database, it will multiply by 1000 any
  timestamp it reads which is less than 1<<31. Since this date corresponds to
  Jan 16 1970 this is unlikely to cause a problem.
2. When an old ovsdb-tool reads a new database, it will interpret the
  millisecond timestamps as seconds and report dates in the far future; the
  time of this commit is reported as the year 45672 (each second since the
  epoch is interpreted as 16 minutes).

Signed-off-by: Paul Ingram <pingram@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
NEWS
ovsdb/file.c
ovsdb/ovsdb-tool.c