Couchbase .NET Client Library

Version 4 by john
on Jun 20, 2012 11:16.

compared with
Version 5 by john
on Jun 20, 2012 13:53.

This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History

Generally speaking, testing the Success property is the starting point for checking for any failures. Success should never be true false if an operation succeeded on the server (status code is 0). The various properties described above could then be used to test for swallowed exceptions or failed operations that didn't raise an exception.

Also, please note that there were missing code paths in the current version of the Enyim.Caching client that was released with the .NET 1.1 library. Specifically, operation failures that should report a StatusCode were falling through to a "Node not found condition." An upcoming 1.1.7 release will patch Enyim and resolve this issue - also reducing (or eliminating) the need for the InnerResult structure that currently is in place.