22#ifdef COUCHBASE_CXX_CLIENT_DOXYGEN
36 template<
typename ParseContext>
37 constexpr auto parse(ParseContext& ctx)
37 constexpr auto parse(ParseContext& ctx) {
…}
42 template<
typename FormatContext>
45 string_view name =
"unknown";
48 name =
"do_not_retry";
54 name =
"socket_not_available";
57 name =
"service_not_available";
60 name =
"node_not_available";
63 name =
"kv_not_my_vbucket";
66 name =
"kv_collection_outdated";
69 name =
"kv_error_map_retry_indicated";
75 name =
"kv_temporary_failure";
78 name =
"kv_sync_write_in_progress";
81 name =
"kv_sync_write_re_commit_in_progress";
84 name =
"service_response_code_indicated";
87 name =
"socket_closed_while_in_flight";
90 name =
"circuit_breaker_open";
93 name =
"query_prepared_statement_failure";
96 name =
"query_index_not_found";
99 name =
"analytics_temporary_failure";
102 name =
"search_too_many_requests";
105 name =
"views_temporary_failure";
108 name =
"views_no_active_partition";
111 return format_to(ctx.out(),
"{}", name);
Represents a single item from the result of scan()
Definition allow_querying_search_index_options.hxx:28
retry_reason
Enumeration of possible retry reasons for operations.
Definition retry_reason.hxx:28
@ key_value_sync_write_in_progress
Definition retry_reason.hxx:74
@ key_value_locked
Definition retry_reason.hxx:70
@ views_no_active_partition
Definition retry_reason.hxx:101
@ key_value_temporary_failure
Definition retry_reason.hxx:72
@ service_not_available
The service on a node (i.e.
Definition retry_reason.hxx:48
@ key_value_sync_write_re_commit_in_progress
Definition retry_reason.hxx:76
@ node_not_available
The node where the operation is supposed to be dispatched to is not available.
Definition retry_reason.hxx:53
@ socket_not_available
The socket is not available into which the operation should’ve been written.
Definition retry_reason.hxx:43
@ search_too_many_requests
Definition retry_reason.hxx:97
@ service_response_code_indicated
Definition retry_reason.hxx:78
@ key_value_error_map_retry_indicated
An unknown response was returned and the consulted KV error map indicated a retry.
Definition retry_reason.hxx:68
@ key_value_not_my_vbucket
A not my vbucket response has been received.
Definition retry_reason.hxx:58
@ socket_closed_while_in_flight
While an operation was in-flight, the underlying socket has been closed.
Definition retry_reason.hxx:83
@ unknown
All unexpected/unknown retry errors must not be retried to avoid accidental data loss and non-determi...
Definition retry_reason.hxx:38
@ query_prepared_statement_failure
Definition retry_reason.hxx:91
@ key_value_collection_outdated
A KV response has been received which signals an outdated collection.
Definition retry_reason.hxx:63
@ do_not_retry
default value, e.g.
Definition retry_reason.hxx:32
@ circuit_breaker_open
The circuit breaker is open for the given socket/endpoint and as a result the operation is not sent i...
Definition retry_reason.hxx:89
@ analytics_temporary_failure
Definition retry_reason.hxx:95
@ query_index_not_found
Definition retry_reason.hxx:93
@ views_temporary_failure
Definition retry_reason.hxx:99