ovsdb: Better document possible commit-time error results.
authorBen Pfaff <blp@nicira.com>
Mon, 6 Jun 2011 18:27:44 +0000 (11:27 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 6 Jun 2011 19:48:54 +0000 (12:48 -0700)
CC: Jeremy Stribling <strib@nicira.com>
ovsdb/SPECS

index cf0c9fa..951c097 100644 (file)
@@ -442,6 +442,16 @@ include at least the following:
         The number of rows in a table exceeds the maximum number
         permitted by the table's "maxRows" value (see <table-schema>).
 
+    "error": "constraint violation"
+
+        Two or more rows in a table had the same values in the columns
+        that comprise an index.
+
+    "error": "resources exhausted"
+    "error": "I/O error"
+
+        As described in the definition of <error> above.
+
 If "params" contains one or more "wait" operations, then the
 transaction may take an arbitrary amount of time to complete.  The
 database implementation must be capable of accepting, executing, and