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>
Tue, 17 Sep 2013 20:56:46 +0000 (13:56 -0700)
commit340a92017eba6661e17698d0594d76b087d38b06
tree4f8dfa1c82aab9a4b39a005ea2cbab68142f421e
parent75dbe9e934e625d8adaab8222457240331a60546
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