From: Ben Pfaff <blp@nicira.com>
Date: Mon, 6 Jun 2011 18:27:44 +0000 (-0700)
Subject: ovsdb: Better document possible commit-time error results.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d901ddf433b7b7d37216b5ff4bf185e9319dce47;p=openvswitch

ovsdb: Better document possible commit-time error results.

CC: Jeremy Stribling <strib@nicira.com>
---

diff --git a/ovsdb/SPECS b/ovsdb/SPECS
index cf0c9fa1..951c0976 100644
--- a/ovsdb/SPECS
+++ b/ovsdb/SPECS
@@ -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