[ovs-dev] [PATCH] ovsdb: Better document possible commit-time error results.

Jeremy Stribling strib at nicira.com
Mon Jun 6 19:43:13 UTC 2011


Looks amazing, thanks.

On 06/06/2011 11:27 AM, Ben Pfaff wrote:
> CC: Jeremy Stribling<strib at nicira.com>
> ---
>   ovsdb/SPECS |   10 ++++++++++
>   1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/ovsdb/SPECS b/ovsdb/SPECS
> index cf0c9fa..951c097 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
>    



More information about the dev mailing list