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 cf0c9fa105c205ee0342821a02d82c849b275304..951c0976e54d46265e1705d67d14bee812f2e67b 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>).
 
         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
 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