Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
retry_reason.hxx File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  couchbase
 Represents a single item from the result of collection::scan()
 

Enumerations

enum class  retry_reason {
  do_not_retry , unknown , socket_not_available , service_not_available ,
  node_not_available , key_value_not_my_vbucket , key_value_collection_outdated , key_value_error_map_retry_indicated ,
  key_value_locked , key_value_temporary_failure , key_value_sync_write_in_progress , key_value_sync_write_re_commit_in_progress ,
  service_response_code_indicated , socket_closed_while_in_flight , circuit_breaker_open , query_prepared_statement_failure ,
  query_index_not_found , analytics_temporary_failure , search_too_many_requests , views_temporary_failure ,
  views_no_active_partition
}
 Enumeration of possible retry reasons for operations. More...
 

Functions

bool allows_non_idempotent_retry (retry_reason reason)
 
bool always_retry (retry_reason reason)