X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2FSPECS;h=c926e2122b5b7059300f920254394a670d4c0428;hb=c6278d208924bb04c41266ddca276712f95533bc;hp=f5d748c03cb5dd9f33903611adf56222066ebc04;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=openvswitch diff --git a/ovsdb/SPECS b/ovsdb/SPECS index f5d748c0..c926e212 100644 --- a/ovsdb/SPECS +++ b/ovsdb/SPECS @@ -101,6 +101,7 @@ is represented by , as described below. A JSON object with the following members: "columns": {: , ...} required + "maxRows": optional The value of "columns" is a JSON object whose names are column names and whose values are s. @@ -122,6 +123,13 @@ is represented by , as described below. the database process is stopped and then started again, each "_version" also changes to a new random value. + If "maxRows" is specified, as a positive integer, it limits the + maximum number of rows that may be present in the table. This is + a "deferred" constraint, enforced only at transaction commit time + (see the "transact" request below). If "maxRows" is not + specified, the size of the table is limited only by the resources + available to the database server. + A JSON object with the following members: @@ -362,6 +370,11 @@ include at least the following: transaction), and this column is not allowed to be empty because its has a "min" of 1. + "error": "constraint violation" + + The number of rows in a table exceeds the maximum number + permitted by the table's "maxRows" value (see ). + 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