couchbase 4.1.2 → 4.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/deps/couchbase-cxx-client/.github/workflows/tests.yml +1 -1
- package/deps/couchbase-cxx-client/.idea/misc.xml +1 -0
- package/deps/couchbase-cxx-client/CMakeLists.txt +209 -21
- package/deps/couchbase-cxx-client/CODE_OF_CONDUCT.md +4 -0
- package/deps/couchbase-cxx-client/CONTRIBUTING.md +35 -0
- package/deps/couchbase-cxx-client/bin/build-tests +7 -0
- package/deps/couchbase-cxx-client/bin/build-tests.rb +1 -0
- package/deps/couchbase-cxx-client/bin/run-tests +6 -0
- package/deps/couchbase-cxx-client/cmake/Documentation.cmake +35 -0
- package/deps/couchbase-cxx-client/core/analytics_scan_consistency.hxx +26 -0
- package/deps/couchbase-cxx-client/core/bucket.hxx +553 -0
- package/deps/couchbase-cxx-client/core/capella_ca.hxx +43 -0
- package/deps/couchbase-cxx-client/core/cluster.cxx +124 -0
- package/deps/couchbase-cxx-client/core/cluster.hxx +480 -0
- package/deps/couchbase-cxx-client/core/cluster_options.cxx +50 -0
- package/deps/couchbase-cxx-client/core/cluster_options.hxx +84 -0
- package/deps/couchbase-cxx-client/core/config_profile.cxx +25 -0
- package/deps/couchbase-cxx-client/core/config_profile.hxx +92 -0
- package/deps/couchbase-cxx-client/core/crypto/CMakeLists.txt +12 -0
- package/deps/couchbase-cxx-client/core/crypto/cbcrypto.cc +897 -0
- package/deps/couchbase-cxx-client/core/crypto/cbcrypto.h +88 -0
- package/deps/couchbase-cxx-client/core/design_document_namespace.hxx +26 -0
- package/deps/couchbase-cxx-client/core/design_document_namespace_fmt.hxx +47 -0
- package/deps/couchbase-cxx-client/core/diagnostics.hxx +97 -0
- package/deps/couchbase-cxx-client/core/diagnostics_fmt.hxx +113 -0
- package/deps/couchbase-cxx-client/core/diagnostics_json.hxx +100 -0
- package/deps/couchbase-cxx-client/core/document_id.cxx +102 -0
- package/deps/couchbase-cxx-client/core/document_id.hxx +119 -0
- package/deps/couchbase-cxx-client/core/document_id_fmt.hxx +37 -0
- package/deps/couchbase-cxx-client/core/error_context/analytics.hxx +51 -0
- package/deps/couchbase-cxx-client/core/error_context/http.hxx +47 -0
- package/deps/couchbase-cxx-client/core/error_context/key_value.cxx +58 -0
- package/deps/couchbase-cxx-client/core/error_context/key_value.hxx +83 -0
- package/deps/couchbase-cxx-client/core/error_context/query.hxx +51 -0
- package/deps/couchbase-cxx-client/core/error_context/search.hxx +50 -0
- package/deps/couchbase-cxx-client/core/error_context/view.hxx +51 -0
- package/deps/couchbase-cxx-client/core/impl/analytics_error_category.cxx +62 -0
- package/deps/couchbase-cxx-client/core/impl/append.cxx +84 -0
- package/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +81 -0
- package/deps/couchbase-cxx-client/core/impl/common_error_category.cxx +87 -0
- package/deps/couchbase-cxx-client/core/impl/decrement.cxx +87 -0
- package/deps/couchbase-cxx-client/core/impl/expiry.cxx +99 -0
- package/deps/couchbase-cxx-client/core/impl/field_level_encryption_error_category.cxx +63 -0
- package/deps/couchbase-cxx-client/core/impl/get.cxx +66 -0
- package/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +139 -0
- package/deps/couchbase-cxx-client/core/impl/get_all_replicas.hxx +79 -0
- package/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +48 -0
- package/deps/couchbase-cxx-client/core/impl/get_any_replica.cxx +134 -0
- package/deps/couchbase-cxx-client/core/impl/get_any_replica.hxx +76 -0
- package/deps/couchbase-cxx-client/core/impl/get_replica.cxx +44 -0
- package/deps/couchbase-cxx-client/core/impl/get_replica.hxx +52 -0
- package/deps/couchbase-cxx-client/core/impl/increment.cxx +87 -0
- package/deps/couchbase-cxx-client/core/impl/insert.cxx +89 -0
- package/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +99 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +67 -0
- package/deps/couchbase-cxx-client/core/impl/management_error_category.cxx +75 -0
- package/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +125 -0
- package/deps/couchbase-cxx-client/core/impl/network_error_category.cxx +59 -0
- package/deps/couchbase-cxx-client/core/impl/observe_poll.cxx +355 -0
- package/deps/couchbase-cxx-client/core/impl/observe_poll.hxx +49 -0
- package/deps/couchbase-cxx-client/core/impl/observe_seqno.cxx +47 -0
- package/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +63 -0
- package/deps/couchbase-cxx-client/core/impl/prepend.cxx +84 -0
- package/deps/couchbase-cxx-client/core/impl/query_error_category.cxx +55 -0
- package/deps/couchbase-cxx-client/core/impl/remove.cxx +83 -0
- package/deps/couchbase-cxx-client/core/impl/replace.cxx +93 -0
- package/deps/couchbase-cxx-client/core/impl/search_error_category.cxx +51 -0
- package/deps/couchbase-cxx-client/core/impl/streaming_json_lexter_error_category.cxx +102 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_add_unique.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_append.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_insert.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_prepend.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/command.hxx +41 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/command_bundle.hxx +42 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/count.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/counter.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/exists.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/get.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/insert.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/join_values.cxx +56 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/join_values.hxx +27 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_macro.cxx +109 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_specs.cxx +42 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_macro.cxx +76 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_specs.cxx +42 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/opcode.hxx +47 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/path_flags.hxx +77 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/remove.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/replace.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/upsert.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/touch.cxx +48 -0
- package/deps/couchbase-cxx-client/core/impl/upsert.cxx +91 -0
- package/deps/couchbase-cxx-client/core/impl/view_error_category.cxx +50 -0
- package/deps/couchbase-cxx-client/core/impl/with_legacy_durability.hxx +65 -0
- package/deps/couchbase-cxx-client/core/io/CMakeLists.txt +12 -0
- package/deps/couchbase-cxx-client/core/io/dns_client.hxx +218 -0
- package/deps/couchbase-cxx-client/core/io/dns_codec.hxx +206 -0
- package/deps/couchbase-cxx-client/core/io/dns_config.hxx +115 -0
- package/deps/couchbase-cxx-client/core/io/dns_message.hxx +555 -0
- package/deps/couchbase-cxx-client/core/io/http_command.hxx +178 -0
- package/deps/couchbase-cxx-client/core/io/http_context.hxx +40 -0
- package/deps/couchbase-cxx-client/core/io/http_message.hxx +116 -0
- package/deps/couchbase-cxx-client/core/io/http_parser.cxx +141 -0
- package/deps/couchbase-cxx-client/core/io/http_parser.hxx +55 -0
- package/deps/couchbase-cxx-client/core/io/http_session.hxx +551 -0
- package/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +383 -0
- package/deps/couchbase-cxx-client/core/io/http_traits.hxx +38 -0
- package/deps/couchbase-cxx-client/core/io/ip_protocol.hxx +28 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +305 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_context.hxx +39 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_message.cxx +39 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +55 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_parser.cxx +88 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_parser.hxx +45 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +1336 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_traits.hxx +38 -0
- package/deps/couchbase-cxx-client/core/io/query_cache.hxx +71 -0
- package/deps/couchbase-cxx-client/core/io/retry_action.hxx +30 -0
- package/deps/couchbase-cxx-client/core/io/retry_context.hxx +38 -0
- package/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +112 -0
- package/deps/couchbase-cxx-client/core/io/retry_reason.hxx +86 -0
- package/deps/couchbase-cxx-client/core/io/retry_strategy.hxx +152 -0
- package/deps/couchbase-cxx-client/core/io/streams.hxx +253 -0
- package/deps/couchbase-cxx-client/core/json_string.hxx +48 -0
- package/deps/couchbase-cxx-client/core/logger/CMakeLists.txt +9 -0
- package/deps/couchbase-cxx-client/core/logger/configuration.hxx +57 -0
- package/deps/couchbase-cxx-client/core/logger/custom_rotating_file_sink.cxx +157 -0
- package/deps/couchbase-cxx-client/{couchbase → core}/logger/custom_rotating_file_sink.hxx +0 -0
- package/deps/couchbase-cxx-client/core/logger/logger.cxx +340 -0
- package/deps/couchbase-cxx-client/core/logger/logger.hxx +242 -0
- package/deps/couchbase-cxx-client/core/management/analytics_dataset.hxx +30 -0
- package/deps/couchbase-cxx-client/core/management/analytics_index.hxx +30 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link.hxx +22 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.cxx +68 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.hxx +76 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external_json.hxx +52 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.cxx +105 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.hxx +107 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote_json.hxx +63 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.cxx +58 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.hxx +69 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external_json.hxx +47 -0
- package/deps/couchbase-cxx-client/core/management/bucket_settings.hxx +134 -0
- package/deps/couchbase-cxx-client/core/management/bucket_settings_json.hxx +123 -0
- package/deps/couchbase-cxx-client/core/management/design_document.hxx +41 -0
- package/deps/couchbase-cxx-client/core/management/eventing_function.hxx +188 -0
- package/deps/couchbase-cxx-client/core/management/eventing_function_json.hxx +212 -0
- package/deps/couchbase-cxx-client/core/management/eventing_status.hxx +84 -0
- package/deps/couchbase-cxx-client/core/management/eventing_status_json.hxx +77 -0
- package/deps/couchbase-cxx-client/core/management/query_index.hxx +39 -0
- package/deps/couchbase-cxx-client/core/management/rbac.hxx +77 -0
- package/deps/couchbase-cxx-client/core/management/rbac_fmt.hxx +49 -0
- package/deps/couchbase-cxx-client/core/management/rbac_json.hxx +179 -0
- package/deps/couchbase-cxx-client/core/management/search_index.hxx +38 -0
- package/deps/couchbase-cxx-client/core/management/search_index_json.hxx +58 -0
- package/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +15 -0
- package/deps/couchbase-cxx-client/core/meta/version.cxx +190 -0
- package/deps/couchbase-cxx-client/core/meta/version.hxx +45 -0
- package/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +10 -0
- package/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +194 -0
- package/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +74 -0
- package/deps/couchbase-cxx-client/core/metrics/logging_meter_options.hxx +28 -0
- package/deps/couchbase-cxx-client/core/metrics/meter.hxx +52 -0
- package/deps/couchbase-cxx-client/core/metrics/noop_meter.hxx +47 -0
- package/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +221 -0
- package/deps/couchbase-cxx-client/core/operations/document_analytics.hxx +113 -0
- package/deps/couchbase-cxx-client/core/operations/document_append.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_append.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/document_decrement.cxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/document_exists.cxx +50 -0
- package/deps/couchbase-cxx-client/core/operations/document_exists.hxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/document_get.cxx +44 -0
- package/deps/couchbase-cxx-client/core/operations/document_get.hxx +62 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_all_replicas.hxx +143 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +64 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +65 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_any_replica.hxx +133 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +237 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +68 -0
- package/deps/couchbase-cxx-client/core/operations/document_increment.cxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/document_increment.hxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/document_insert.cxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/document_insert.hxx +80 -0
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in.cxx +97 -0
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +77 -0
- package/deps/couchbase-cxx-client/core/operations/document_mutate_in.cxx +117 -0
- package/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +95 -0
- package/deps/couchbase-cxx-client/core/operations/document_prepend.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/document_query.cxx +385 -0
- package/deps/couchbase-cxx-client/core/operations/document_query.hxx +129 -0
- package/deps/couchbase-cxx-client/core/operations/document_remove.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_remove.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/document_replace.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/document_replace.hxx +82 -0
- package/deps/couchbase-cxx-client/core/operations/document_search.cxx +312 -0
- package/deps/couchbase-cxx-client/core/operations/document_search.hxx +163 -0
- package/deps/couchbase-cxx-client/core/operations/document_touch.cxx +43 -0
- package/deps/couchbase-cxx-client/core/operations/document_touch.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/document_unlock.cxx +43 -0
- package/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/document_upsert.cxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/document_view.cxx +197 -0
- package/deps/couchbase-cxx-client/core/operations/document_view.hxx +109 -0
- package/deps/couchbase-cxx-client/core/operations/http_noop.cxx +64 -0
- package/deps/couchbase-cxx-client/core/operations/http_noop.hxx +48 -0
- package/deps/couchbase-cxx-client/core/operations/management/CMakeLists.txt +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics.hxx +34 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.cxx +93 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.hxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.cxx +82 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.cxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.cxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.cxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.cxx +69 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.cxx +105 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.hxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.cxx +89 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.hxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.cxx +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.cxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.hxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.cxx +86 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.hxx +77 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.cxx +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.hxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.cxx +102 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.hxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.cxx +128 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.hxx +63 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.cxx +86 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_utils.hxx +37 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_problem.hxx +30 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket.hxx +25 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_create.cxx +171 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_create.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +66 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_drop.cxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_drop.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_flush.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_flush.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_update.cxx +130 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_update.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_describe.cxx +89 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_describe.hxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.cxx +43 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.hxx +48 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_create.cxx +82 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_create.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_drop.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_drop.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections.hxx +25 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.cxx +40 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/error_utils.cxx +267 -0
- package/deps/couchbase-cxx-client/core/operations/management/error_utils.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing.hxx +28 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.cxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.cxx +63 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_problem.hxx +31 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.cxx +340 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/freeform.cxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/freeform.hxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_drop.cxx +50 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_drop.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get.cxx +59 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get.hxx +50 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get_all.cxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get_all.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_upsert.cxx +95 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_upsert.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/query.hxx +25 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +93 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +60 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build_deferred.hxx +107 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +148 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +65 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +128 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +125 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/role_get_all.cxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/role_get_all.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_create.cxx +74 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_create.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_drop.cxx +69 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_drop.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_get_all.cxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_get_all.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/search.hxx +30 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.cxx +41 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.hxx +48 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.cxx +84 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.hxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_drop.cxx +71 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_drop.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get.cxx +74 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.cxx +66 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.cxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.cxx +70 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.cxx +114 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/user.hxx +28 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_drop.cxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_drop.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get.cxx +60 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get_all.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get_all.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_upsert.cxx +100 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_upsert.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/view.hxx +23 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_drop.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_drop.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get.cxx +73 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.cxx +107 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.cxx +70 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/mcbp_noop.cxx +38 -0
- package/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/operation_traits.hxx +31 -0
- package/deps/couchbase-cxx-client/core/operations.hxx +44 -0
- package/deps/couchbase-cxx-client/core/origin.hxx +195 -0
- package/deps/couchbase-cxx-client/core/platform/CMakeLists.txt +16 -0
- package/deps/couchbase-cxx-client/core/platform/backtrace.c +189 -0
- package/deps/couchbase-cxx-client/{couchbase → core}/platform/backtrace.h +0 -0
- package/deps/couchbase-cxx-client/core/platform/base64.cc +234 -0
- package/deps/couchbase-cxx-client/core/platform/base64.h +44 -0
- package/deps/couchbase-cxx-client/core/platform/dirutils.cc +123 -0
- package/deps/couchbase-cxx-client/core/platform/dirutils.h +43 -0
- package/deps/couchbase-cxx-client/core/platform/random.cc +120 -0
- package/deps/couchbase-cxx-client/core/platform/random.h +39 -0
- package/deps/couchbase-cxx-client/core/platform/string_hex.cc +101 -0
- package/deps/couchbase-cxx-client/core/platform/string_hex.h +50 -0
- package/deps/couchbase-cxx-client/core/platform/terminate_handler.cc +125 -0
- package/deps/couchbase-cxx-client/core/platform/terminate_handler.h +36 -0
- package/deps/couchbase-cxx-client/core/platform/uuid.cc +98 -0
- package/deps/couchbase-cxx-client/core/platform/uuid.h +56 -0
- package/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +359 -0
- package/deps/couchbase-cxx-client/core/protocol/client_opcode_fmt.hxx +316 -0
- package/deps/couchbase-cxx-client/core/protocol/client_request.cxx +38 -0
- package/deps/couchbase-cxx-client/core/protocol/client_request.hxx +168 -0
- package/deps/couchbase-cxx-client/core/protocol/client_response.cxx +75 -0
- package/deps/couchbase-cxx-client/core/protocol/client_response.hxx +210 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_append.cxx +74 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_append.hxx +107 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.cxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.hxx +57 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_decrement.cxx +96 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_decrement.hxx +130 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get.cxx +59 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get.hxx +96 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.cxx +66 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.hxx +112 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.cxx +66 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.hxx +112 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.cxx +85 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.hxx +89 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.cxx +60 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.hxx +95 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.cxx +51 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.hxx +84 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.cxx +61 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.hxx +103 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.cxx +70 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.hxx +117 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.cxx +71 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.hxx +88 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_hello.cxx +76 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +136 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_increment.cxx +98 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_increment.hxx +130 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_info.hxx +29 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_insert.cxx +83 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_insert.hxx +124 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.cxx +108 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.hxx +139 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.cxx +163 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.hxx +216 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_noop.cxx +36 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_noop.hxx +75 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.cxx +92 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.hxx +132 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_prepend.cxx +73 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_prepend.hxx +103 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_remove.cxx +74 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_remove.hxx +94 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_replace.cxx +92 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_replace.hxx +131 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.cxx +61 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.hxx +91 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.cxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.hxx +82 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.cxx +61 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.hxx +91 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.cxx +45 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.hxx +79 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_touch.cxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_touch.hxx +84 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_unlock.cxx +44 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_unlock.hxx +81 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_upsert.cxx +92 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_upsert.hxx +126 -0
- package/deps/couchbase-cxx-client/core/protocol/datatype.hxx +48 -0
- package/deps/couchbase-cxx-client/core/protocol/enhanced_error_info.hxx +23 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_id.hxx +142 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_id_fmt.hxx +79 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_utils.cxx +59 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_utils.hxx +52 -0
- package/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +186 -0
- package/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +106 -0
- package/deps/couchbase-cxx-client/core/protocol/magic.hxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/magic_fmt.hxx +58 -0
- package/deps/couchbase-cxx-client/core/protocol/server_opcode.hxx +39 -0
- package/deps/couchbase-cxx-client/core/protocol/server_opcode_fmt.hxx +46 -0
- package/deps/couchbase-cxx-client/core/protocol/server_request.hxx +121 -0
- package/deps/couchbase-cxx-client/core/protocol/status.cxx +187 -0
- package/deps/couchbase-cxx-client/core/protocol/status.hxx +112 -0
- package/deps/couchbase-cxx-client/core/query_profile_mode.hxx +27 -0
- package/deps/couchbase-cxx-client/core/query_scan_consistency.hxx +23 -0
- package/deps/couchbase-cxx-client/core/sasl/CMakeLists.txt +16 -0
- package/deps/couchbase-cxx-client/core/sasl/client.cc +50 -0
- package/deps/couchbase-cxx-client/core/sasl/client.h +127 -0
- package/deps/couchbase-cxx-client/core/sasl/context.cc +34 -0
- package/deps/couchbase-cxx-client/core/sasl/context.h +52 -0
- package/deps/couchbase-cxx-client/core/sasl/error.h +28 -0
- package/deps/couchbase-cxx-client/core/sasl/error_fmt.h +70 -0
- package/deps/couchbase-cxx-client/core/sasl/mechanism.cc +45 -0
- package/deps/couchbase-cxx-client/core/sasl/mechanism.h +52 -0
- package/deps/couchbase-cxx-client/core/sasl/plain/plain.cc +39 -0
- package/deps/couchbase-cxx-client/core/sasl/plain/plain.h +54 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.cc +372 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.h +184 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.cc +82 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.h +48 -0
- package/deps/couchbase-cxx-client/core/search_highlight_style.hxx +23 -0
- package/deps/couchbase-cxx-client/core/search_scan_consistency.hxx +23 -0
- package/deps/couchbase-cxx-client/core/service_type.hxx +31 -0
- package/deps/couchbase-cxx-client/core/service_type_fmt.hxx +61 -0
- package/deps/couchbase-cxx-client/core/timeout_defaults.hxx +43 -0
- package/deps/couchbase-cxx-client/core/topology/capabilities.hxx +43 -0
- package/deps/couchbase-cxx-client/core/topology/capabilities_fmt.hxx +106 -0
- package/deps/couchbase-cxx-client/core/topology/collections_manifest.hxx +43 -0
- package/deps/couchbase-cxx-client/core/topology/collections_manifest_fmt.hxx +52 -0
- package/deps/couchbase-cxx-client/core/topology/collections_manifest_json.hxx +53 -0
- package/deps/couchbase-cxx-client/core/topology/configuration.cxx +223 -0
- package/deps/couchbase-cxx-client/core/topology/configuration.hxx +127 -0
- package/deps/couchbase-cxx-client/core/topology/configuration_fmt.hxx +166 -0
- package/deps/couchbase-cxx-client/core/topology/configuration_json.hxx +259 -0
- package/deps/couchbase-cxx-client/core/topology/error_map.hxx +35 -0
- package/deps/couchbase-cxx-client/core/topology/error_map_fmt.hxx +94 -0
- package/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +89 -0
- package/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +9 -0
- package/deps/couchbase-cxx-client/core/tracing/constants.hxx +274 -0
- package/deps/couchbase-cxx-client/core/tracing/noop_tracer.hxx +55 -0
- package/deps/couchbase-cxx-client/core/tracing/request_tracer.hxx +79 -0
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_options.hxx +68 -0
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +422 -0
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +49 -0
- package/deps/couchbase-cxx-client/core/utils/binary.cxx +27 -0
- package/deps/couchbase-cxx-client/core/utils/binary.hxx +57 -0
- package/deps/couchbase-cxx-client/core/utils/byteswap.hxx +49 -0
- package/deps/couchbase-cxx-client/core/utils/connection_string.cxx +420 -0
- package/deps/couchbase-cxx-client/core/utils/connection_string.hxx +76 -0
- package/deps/couchbase-cxx-client/core/utils/crc32.hxx +49 -0
- package/deps/couchbase-cxx-client/core/utils/duration_parser.cxx +193 -0
- package/deps/couchbase-cxx-client/core/utils/duration_parser.hxx +45 -0
- package/deps/couchbase-cxx-client/core/utils/join_strings.hxx +65 -0
- package/deps/couchbase-cxx-client/core/utils/json.cxx +286 -0
- package/deps/couchbase-cxx-client/core/utils/json.hxx +43 -0
- package/deps/couchbase-cxx-client/core/utils/json_stream_control.hxx +32 -0
- package/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.cxx +398 -0
- package/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.hxx +59 -0
- package/deps/couchbase-cxx-client/core/utils/movable_function.hxx +110 -0
- package/deps/couchbase-cxx-client/core/utils/mutation_token.cxx +33 -0
- package/deps/couchbase-cxx-client/core/utils/mutation_token.hxx +29 -0
- package/deps/couchbase-cxx-client/core/utils/name_codec.hxx +41 -0
- package/deps/couchbase-cxx-client/core/utils/unsigned_leb128.hxx +181 -0
- package/deps/couchbase-cxx-client/core/utils/url_codec.cxx +404 -0
- package/deps/couchbase-cxx-client/core/utils/url_codec.hxx +72 -0
- package/deps/couchbase-cxx-client/core/view_on_error.hxx +27 -0
- package/deps/couchbase-cxx-client/core/view_scan_consistency.hxx +27 -0
- package/deps/couchbase-cxx-client/core/view_sort_order.hxx +23 -0
- package/deps/couchbase-cxx-client/couchbase/append_options.hxx +123 -0
- package/deps/couchbase-cxx-client/couchbase/binary_collection.hxx +327 -0
- package/deps/couchbase-cxx-client/couchbase/bucket.hxx +55 -494
- package/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +132 -0
- package/deps/couchbase-cxx-client/couchbase/cas.hxx +74 -8
- package/deps/couchbase-cxx-client/couchbase/cluster.hxx +49 -405
- package/deps/couchbase-cxx-client/couchbase/codec/codec_flags.hxx +145 -0
- package/deps/couchbase-cxx-client/couchbase/codec/encoded_value.hxx +31 -0
- package/deps/couchbase-cxx-client/couchbase/codec/json_transcoder.hxx +87 -0
- package/deps/couchbase-cxx-client/couchbase/codec/raw_binary_transcoder.hxx +53 -0
- package/deps/couchbase-cxx-client/couchbase/codec/transcoder_traits.hxx +31 -0
- package/deps/couchbase-cxx-client/couchbase/collection.hxx +847 -0
- package/deps/couchbase-cxx-client/couchbase/common_durability_options.hxx +108 -0
- package/deps/couchbase-cxx-client/couchbase/common_options.hxx +92 -0
- package/deps/couchbase-cxx-client/couchbase/counter_result.hxx +73 -0
- package/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +165 -0
- package/deps/couchbase-cxx-client/couchbase/durability_level.hxx +64 -0
- package/deps/couchbase-cxx-client/couchbase/error_codes.hxx +1104 -0
- package/deps/couchbase-cxx-client/couchbase/error_context.hxx +173 -0
- package/deps/couchbase-cxx-client/couchbase/expiry.hxx +55 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +37 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/durability_level.hxx +52 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/key_value_extended_error_info.hxx +46 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +242 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/mutation_token.hxx +38 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +103 -0
- package/deps/couchbase-cxx-client/couchbase/get_all_replicas_options.hxx +102 -0
- package/deps/couchbase-cxx-client/couchbase/get_and_touch_options.hxx +94 -0
- package/deps/couchbase-cxx-client/couchbase/get_any_replica_options.hxx +93 -0
- package/deps/couchbase-cxx-client/couchbase/get_options.hxx +116 -0
- package/deps/couchbase-cxx-client/couchbase/get_replica_result.hxx +117 -0
- package/deps/couchbase-cxx-client/couchbase/get_result.hxx +126 -0
- package/deps/couchbase-cxx-client/couchbase/increment_options.hxx +165 -0
- package/deps/couchbase-cxx-client/couchbase/insert_options.hxx +135 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_error_context.hxx +224 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_error_map_attribute.hxx +124 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_error_map_info.hxx +138 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_extended_error_info.hxx +86 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +93 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +117 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_result.hxx +254 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_specs.hxx +146 -0
- package/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +136 -0
- package/deps/couchbase-cxx-client/couchbase/metrics/otel_meter.hxx +131 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +234 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_result.hxx +173 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_specs.hxx +528 -0
- package/deps/couchbase-cxx-client/couchbase/mutation_result.hxx +73 -0
- package/deps/couchbase-cxx-client/couchbase/mutation_token.hxx +93 -6
- package/deps/couchbase-cxx-client/couchbase/persist_to.hxx +73 -0
- package/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +123 -0
- package/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +82 -0
- package/deps/couchbase-cxx-client/couchbase/remove_options.hxx +122 -0
- package/deps/couchbase-cxx-client/couchbase/replace_options.hxx +183 -0
- package/deps/couchbase-cxx-client/couchbase/replicate_to.hxx +55 -0
- package/deps/couchbase-cxx-client/couchbase/result.hxx +66 -0
- package/deps/couchbase-cxx-client/couchbase/retry_reason.hxx +101 -0
- package/deps/couchbase-cxx-client/couchbase/scope.hxx +101 -0
- package/deps/couchbase-cxx-client/couchbase/store_semantics.hxx +63 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_add_unique.hxx +105 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_append.hxx +89 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_insert.hxx +90 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_prepend.hxx +90 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/count.hxx +70 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/counter.hxx +88 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/exists.hxx +70 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command.hxx +25 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command_bundle.hxx +25 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/get.hxx +78 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/insert.hxx +105 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/lookup_in_macro.hxx +65 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/mutate_in_macro.hxx +54 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/remove.hxx +70 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/replace.hxx +89 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/upsert.hxx +105 -0
- package/deps/couchbase-cxx-client/couchbase/subdocument_error_context.hxx +144 -0
- package/deps/couchbase-cxx-client/couchbase/touch_options.hxx +94 -0
- package/deps/couchbase-cxx-client/couchbase/tracing/otel_tracer.hxx +85 -0
- package/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +157 -0
- package/deps/couchbase-cxx-client/docs/Doxyfile.in +2663 -0
- package/deps/couchbase-cxx-client/docs/doxygen-awesome.css +2137 -0
- package/deps/couchbase-cxx-client/docs/mainpage.hxx +35 -0
- package/deps/couchbase-cxx-client/docs/stability.hxx +68 -0
- package/deps/couchbase-cxx-client/test/CMakeLists.txt +6 -0
- package/deps/couchbase-cxx-client/test/benchmark_integration_get.cxx +5 -6
- package/deps/couchbase-cxx-client/test/profile.hxx +62 -0
- package/deps/couchbase-cxx-client/test/test_helper.hxx +3 -0
- package/deps/couchbase-cxx-client/test/test_helper_integration.hxx +1 -1
- package/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +64 -63
- package/deps/couchbase-cxx-client/test/test_integration_arithmetic.cxx +119 -20
- package/deps/couchbase-cxx-client/test/test_integration_binary_operations.cxx +26 -38
- package/deps/couchbase-cxx-client/test/test_integration_collections.cxx +39 -39
- package/deps/couchbase-cxx-client/test/test_integration_connect.cxx +19 -19
- package/deps/couchbase-cxx-client/test/test_integration_crud.cxx +197 -182
- package/deps/couchbase-cxx-client/test/test_integration_diagnostics.cxx +75 -76
- package/deps/couchbase-cxx-client/test/test_integration_durability.cxx +171 -26
- package/deps/couchbase-cxx-client/test/test_integration_management.cxx +632 -573
- package/deps/couchbase-cxx-client/test/test_integration_meter.cxx +180 -0
- package/deps/couchbase-cxx-client/test/test_integration_query.cxx +114 -71
- package/deps/couchbase-cxx-client/test/test_integration_read_replica.cxx +232 -0
- package/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +336 -297
- package/deps/couchbase-cxx-client/test/test_integration_tracer.cxx +304 -0
- package/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +574 -0
- package/deps/couchbase-cxx-client/test/test_unit_config_profiles.cxx +132 -0
- package/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +166 -165
- package/deps/couchbase-cxx-client/test/test_unit_json_streaming_lexer.cxx +19 -18
- package/deps/couchbase-cxx-client/test/test_unit_json_transcoder.cxx +210 -0
- package/deps/couchbase-cxx-client/test/test_unit_jsonsl.cxx +1 -1
- package/deps/couchbase-cxx-client/test/test_unit_utils.cxx +23 -21
- package/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +31 -27
- package/deps/couchbase-cxx-client/test/utils/CMakeLists.txt +1 -0
- package/deps/couchbase-cxx-client/test/utils/binary.cxx +27 -0
- package/deps/couchbase-cxx-client/test/utils/binary.hxx +27 -0
- package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.cxx +6 -6
- package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.hxx +7 -8
- package/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +27 -12
- package/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +16 -15
- package/deps/couchbase-cxx-client/test/utils/logger.cxx +5 -3
- package/deps/couchbase-cxx-client/test/utils/logger.hxx +1 -1
- package/deps/couchbase-cxx-client/test/utils/server_version.hxx +1 -1
- package/deps/couchbase-cxx-client/test/utils/test_context.hxx +3 -3
- package/deps/couchbase-cxx-client/test/utils/wait_until.cxx +4 -4
- package/deps/couchbase-cxx-client/test/utils/wait_until.hxx +5 -5
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/.github/workflows/tests.yml +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/.idea/misc.xml +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CMakeLists.txt +208 -21
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CODE_OF_CONDUCT.md +4 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CONTRIBUTING.md +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/build-tests +7 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/build-tests.rb +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/run-tests +6 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/cmake/Documentation.cmake +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/analytics_scan_consistency.hxx +26 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/bucket.hxx +553 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/capella_ca.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster.cxx +124 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster.hxx +476 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster_options.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster_options.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/CMakeLists.txt +12 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/cbcrypto.cc +897 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/cbcrypto.h +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/design_document_namespace.hxx +26 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/design_document_namespace_fmt.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics.hxx +97 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics_fmt.hxx +113 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics_json.hxx +100 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id.cxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id.hxx +119 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id_fmt.hxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/analytics.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/http.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/key_value.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/key_value.hxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/query.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/search.hxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/view.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/analytics_error_category.cxx +62 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/append.cxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/common_error_category.cxx +87 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/decrement.cxx +87 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/expiry.cxx +99 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/field_level_encryption_error_category.cxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +139 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_all_replicas.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_any_replica.cxx +134 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_any_replica.hxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_replica.cxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_replica.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/increment.cxx +87 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/insert.cxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +99 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +67 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/management_error_category.cxx +75 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +125 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/network_error_category.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_poll.cxx +355 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_poll.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_seqno.cxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/prepend.cxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/query_error_category.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/remove.cxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/replace.cxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/search_error_category.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/streaming_json_lexter_error_category.cxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_add_unique.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_append.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_insert.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_prepend.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/command.hxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/command_bundle.hxx +42 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/count.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/counter.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/exists.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/get.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/insert.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/join_values.cxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/join_values.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_macro.cxx +109 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_specs.cxx +42 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_macro.cxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_specs.cxx +42 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/opcode.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/path_flags.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/remove.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/replace.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/upsert.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/touch.cxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/upsert.cxx +91 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/view_error_category.cxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/with_legacy_durability.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/CMakeLists.txt +12 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_client.hxx +218 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_codec.hxx +206 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_config.hxx +115 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_message.hxx +555 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_command.hxx +178 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_context.hxx +40 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_message.hxx +116 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_parser.cxx +141 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_parser.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_session.hxx +551 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +383 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_traits.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/ip_protocol.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +305 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_context.hxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_message.cxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_parser.cxx +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_parser.hxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +1336 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_traits.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/query_cache.hxx +71 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_action.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_context.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_reason.hxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_strategy.hxx +152 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/streams.hxx +253 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/json_string.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/CMakeLists.txt +9 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/configuration.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/custom_rotating_file_sink.cxx +157 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/{couchbase → core}/logger/custom_rotating_file_sink.hxx +0 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/logger.cxx +340 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/logger.hxx +242 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_dataset.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_index.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link.hxx +22 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.cxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.hxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external_json.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.cxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.hxx +107 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote_json.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.hxx +69 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external_json.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/bucket_settings.hxx +134 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/bucket_settings_json.hxx +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/design_document.hxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_function.hxx +188 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_function_json.hxx +212 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_status.hxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_status_json.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/query_index.hxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac_fmt.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac_json.hxx +179 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/search_index.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/search_index_json.hxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +15 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/version.cxx +190 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/version.hxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +10 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +194 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter_options.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/meter.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/noop_meter.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +221 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_analytics.hxx +113 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_append.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_append.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_decrement.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_exists.cxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_exists.hxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get.cxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get.hxx +62 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_all_replicas.hxx +143 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_lock.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +64 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_touch.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_any_replica.hxx +133 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +237 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_increment.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_increment.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_insert.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_insert.hxx +80 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_lookup_in.cxx +97 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_mutate_in.cxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +95 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_prepend.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_query.cxx +385 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_query.hxx +129 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_remove.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_remove.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_replace.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_replace.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_search.cxx +312 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_search.hxx +163 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_touch.cxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_touch.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_unlock.cxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_upsert.cxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_view.cxx +197 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_view.hxx +109 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/http_noop.cxx +64 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/http_noop.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/CMakeLists.txt +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics.hxx +34 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.cxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.cxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.cxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.cxx +69 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.cxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.hxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.cxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.cxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.cxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.cxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.hxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.cxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.hxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.cxx +128 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.cxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_utils.hxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_problem.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_create.cxx +171 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_create.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_drop.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_drop.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_flush.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_flush.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_update.cxx +130 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_update.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_describe.cxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_describe.hxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.cxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_create.cxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_create.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_drop.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_drop.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.cxx +40 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/error_utils.cxx +267 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/error_utils.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.cxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.cxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_problem.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.cxx +340 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/freeform.cxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/freeform.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_drop.cxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_drop.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get.hxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get_all.cxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get_all.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_upsert.cxx +95 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_upsert.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query.hxx +24 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +60 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +148 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +128 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +125 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/role_get_all.cxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/role_get_all.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_create.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_create.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_drop.cxx +69 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_drop.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_get_all.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_get_all.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_get_stats.cxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_get_stats.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.cxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_drop.cxx +71 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_drop.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.cxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.cxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.cxx +114 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_drop.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_drop.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get.cxx +60 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get_all.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get_all.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_upsert.cxx +100 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_upsert.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_drop.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_drop.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get.cxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.cxx +107 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.cxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/mcbp_noop.cxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/operation_traits.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations.hxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/origin.hxx +195 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/CMakeLists.txt +16 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/backtrace.c +189 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/{couchbase → core}/platform/backtrace.h +0 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/base64.cc +234 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/base64.h +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/dirutils.cc +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/dirutils.h +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/random.cc +120 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/random.h +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/string_hex.cc +101 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/string_hex.h +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/terminate_handler.cc +125 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/terminate_handler.h +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/uuid.cc +98 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/uuid.h +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +359 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_opcode_fmt.hxx +316 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_request.cxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_request.hxx +168 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_response.cxx +75 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_response.hxx +210 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_append.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_append.hxx +107 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_decrement.cxx +96 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_decrement.hxx +130 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get.hxx +96 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.cxx +85 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.cxx +60 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.hxx +95 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.hxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.hxx +103 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.cxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.hxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.cxx +71 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.hxx +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_hello.cxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +136 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_increment.cxx +98 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_increment.hxx +130 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_info.hxx +29 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_insert.cxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_insert.hxx +124 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.cxx +108 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.hxx +139 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.cxx +163 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.hxx +216 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_noop.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_noop.hxx +75 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.cxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.hxx +132 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_prepend.cxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_prepend.hxx +103 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_remove.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_remove.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_replace.cxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_replace.hxx +131 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.hxx +91 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.hxx +91 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_touch.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_touch.hxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_unlock.cxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_unlock.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_upsert.cxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_upsert.hxx +126 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/datatype.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/enhanced_error_info.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_id.hxx +142 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_id_fmt.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_utils.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_utils.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +186 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +106 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/magic.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/magic_fmt.hxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_opcode.hxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_opcode_fmt.hxx +46 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_request.hxx +121 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/status.cxx +187 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/status.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/query_profile_mode.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/query_scan_consistency.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/CMakeLists.txt +16 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/client.cc +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/client.h +127 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/context.cc +34 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/context.h +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/error.h +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/error_fmt.h +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/mechanism.cc +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/mechanism.h +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/plain/plain.cc +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/plain/plain.h +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.cc +372 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.h +184 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.cc +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.h +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/search_highlight_style.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/search_scan_consistency.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/service_type.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/service_type_fmt.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/timeout_defaults.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/capabilities.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/capabilities_fmt.hxx +106 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest_fmt.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest_json.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration.cxx +223 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration.hxx +127 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration_fmt.hxx +166 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration_json.hxx +259 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map.hxx +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map_fmt.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +9 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/constants.hxx +274 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/noop_tracer.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/request_tracer.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_options.hxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +422 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/binary.cxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/binary.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/byteswap.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/connection_string.cxx +420 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/connection_string.hxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/crc32.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/duration_parser.cxx +193 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/duration_parser.hxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/join_strings.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json.cxx +286 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_stream_control.hxx +32 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.cxx +398 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.hxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/movable_function.hxx +110 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/mutation_token.cxx +33 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/mutation_token.hxx +29 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/name_codec.hxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/unsigned_leb128.hxx +181 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/url_codec.cxx +404 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/url_codec.hxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_on_error.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_scan_consistency.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_sort_order.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/append_options.hxx +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/binary_collection.hxx +327 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/bucket.hxx +55 -494
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +132 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cas.hxx +74 -8
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster.hxx +49 -405
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/codec_flags.hxx +145 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/encoded_value.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/json_transcoder.hxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/raw_binary_transcoder.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/transcoder_traits.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/collection.hxx +847 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/common_durability_options.hxx +108 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/common_options.hxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/counter_result.hxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +165 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/durability_level.hxx +64 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_codes.hxx +1104 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context.hxx +173 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/expiry.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/durability_level.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/key_value_extended_error_info.hxx +46 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +242 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/mutation_token.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +103 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_all_replicas_options.hxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_and_touch_options.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_any_replica_options.hxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_options.hxx +116 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_replica_result.hxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_result.hxx +126 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/increment_options.hxx +165 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/insert_options.hxx +135 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_context.hxx +224 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_map_attribute.hxx +124 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_map_info.hxx +138 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_extended_error_info.hxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_result.hxx +216 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_specs.hxx +146 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +136 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/otel_meter.hxx +131 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +234 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_result.hxx +135 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_specs.hxx +528 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_result.hxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_token.hxx +93 -6
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/persist_to.hxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/remove_options.hxx +122 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/replace_options.hxx +183 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/replicate_to.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/result.hxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/retry_reason.hxx +101 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/scope.hxx +101 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/store_semantics.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_add_unique.hxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_append.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_insert.hxx +90 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_prepend.hxx +90 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/count.hxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/counter.hxx +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/exists.hxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command_bundle.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/get.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/insert.hxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/lookup_in_macro.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/mutate_in_macro.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/remove.hxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/replace.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/upsert.hxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdocument_error_context.hxx +144 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/touch_options.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/otel_tracer.hxx +85 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +157 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/Doxyfile.in +2663 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/doxygen-awesome.css +2137 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/mainpage.hxx +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/stability.hxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/CMakeLists.txt +5 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/benchmark_integration_get.cxx +6 -6
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/profile.hxx +62 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_helper.hxx +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_helper_integration.hxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +50 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_arithmetic.cxx +119 -20
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_binary_operations.cxx +32 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_collections.cxx +34 -34
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_connect.cxx +17 -17
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_crud.cxx +201 -182
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_diagnostics.cxx +74 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_durability.cxx +181 -26
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_management.cxx +460 -418
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_meter.cxx +180 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_query.cxx +100 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_read_replica.cxx +234 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +334 -295
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_tracer.cxx +304 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +531 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +166 -165
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_json_streaming_lexer.cxx +14 -13
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_json_transcoder.cxx +204 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_jsonsl.cxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_utils.cxx +23 -21
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +31 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/CMakeLists.txt +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/binary.cxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/binary.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_shortcuts.cxx +6 -6
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_shortcuts.hxx +7 -8
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +27 -12
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +16 -15
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/logger.cxx +5 -3
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/logger.hxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/server_version.hxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/test_context.hxx +3 -3
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/wait_until.cxx +4 -4
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/wait_until.hxx +5 -5
- package/deps/couchbase-transactions-cxx/examples/game_server.cxx +22 -22
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/async_attempt_context.hxx +9 -7
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/attempt_context.hxx +7 -7
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/atr_cleanup_entry.hxx +3 -5
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/doc_record.hxx +3 -3
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/exceptions_internal.hxx +1 -0
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/transaction_context.hxx +4 -4
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/transactions_cleanup.hxx +10 -18
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/utils.hxx +36 -37
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/per_transaction_config.hxx +5 -5
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_config.hxx +5 -5
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_get_result.hxx +8 -8
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_keyspace.hxx +2 -2
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_query_options.hxx +11 -10
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions.hxx +8 -8
- package/deps/couchbase-transactions-cxx/src/transactions/active_transaction_record.cxx +2 -3
- package/deps/couchbase-transactions-cxx/src/transactions/active_transaction_record.hxx +27 -21
- package/deps/couchbase-transactions-cxx/src/transactions/atr_cleanup_entry.cxx +67 -51
- package/deps/couchbase-transactions-cxx/src/transactions/atr_ids.cxx +2 -2
- package/deps/couchbase-transactions-cxx/src/transactions/attempt_context_impl.cxx +199 -192
- package/deps/couchbase-transactions-cxx/src/transactions/attempt_context_impl.hxx +26 -26
- package/deps/couchbase-transactions-cxx/src/transactions/binary_utils.cxx +28 -0
- package/deps/couchbase-transactions-cxx/src/transactions/binary_utils.hxx +30 -0
- package/deps/couchbase-transactions-cxx/src/transactions/exceptions.cxx +11 -12
- package/deps/couchbase-transactions-cxx/src/transactions/logging.cxx +10 -10
- package/deps/couchbase-transactions-cxx/src/transactions/result.cxx +1 -1
- package/deps/couchbase-transactions-cxx/src/transactions/result.hxx +33 -13
- package/deps/couchbase-transactions-cxx/src/transactions/staged_mutation.cxx +54 -34
- package/deps/couchbase-transactions-cxx/src/transactions/staged_mutation.hxx +7 -7
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_config.cxx +1 -1
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_context.cxx +3 -3
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_get_result.cxx +33 -29
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_query_options.cxx +4 -4
- package/deps/couchbase-transactions-cxx/src/transactions/transactions.cxx +1 -1
- package/deps/couchbase-transactions-cxx/src/transactions/transactions_cleanup.cxx +50 -42
- package/deps/couchbase-transactions-cxx/src/transactions/uid_generator.cxx +4 -2
- package/deps/couchbase-transactions-cxx/tests/transactions/logging_t.cpp +16 -17
- package/deps/couchbase-transactions-cxx/tests/transactions/simple_async_t.cpp +21 -21
- package/deps/couchbase-transactions-cxx/tests/transactions/simple_t.cpp +4 -4
- package/deps/couchbase-transactions-cxx/tests/transactions/transaction_context_t.cpp +13 -13
- package/deps/couchbase-transactions-cxx/tests/transactions/transactions_env.h +35 -33
- package/deps/couchbase-transactions-cxx/tests/transactions/waitable_op_list_t.cpp +8 -5
- package/dist/analyticsexecutor.js +1 -1
- package/dist/authenticators.d.ts +18 -0
- package/dist/authenticators.js +15 -0
- package/dist/binarycollection.d.ts +48 -0
- package/dist/binding.d.ts +518 -295
- package/dist/binding.js +55 -40
- package/dist/bindingutilities.d.ts +16 -4
- package/dist/bindingutilities.js +208 -87
- package/dist/bucketmanager.d.ts +21 -21
- package/dist/bucketmanager.js +6 -5
- package/dist/cluster.d.ts +12 -0
- package/dist/cluster.js +38 -8
- package/dist/collection.d.ts +121 -1
- package/dist/collection.js +304 -53
- package/dist/configProfile.d.ts +69 -0
- package/dist/configProfile.js +80 -0
- package/dist/crudoptypes.d.ts +27 -0
- package/dist/crudoptypes.js +17 -1
- package/dist/errors.d.ts +16 -0
- package/dist/errors.js +24 -2
- package/dist/queryindexmanager.js +2 -2
- package/dist/streamablepromises.d.ts +8 -0
- package/dist/streamablepromises.js +23 -1
- package/package.json +1 -1
- package/src/binding.cpp +10 -10
- package/src/cas.cpp +2 -2
- package/src/connection.cpp +34 -9
- package/src/connection.hpp +18 -3
- package/src/connection_autogen.cpp +429 -232
- package/src/constants.cpp +736 -588
- package/src/instance.cpp +1 -1
- package/src/instance.hpp +2 -2
- package/src/jstocbpp_autogen.hpp +3250 -2192
- package/src/jstocbpp_basic.hpp +13 -12
- package/src/jstocbpp_errors.hpp +74 -42
- package/src/jstocbpp_transactions.hpp +27 -27
- package/src/mutationtoken.cpp +17 -20
- package/src/mutationtoken.hpp +1 -1
- package/src/transaction.cpp +30 -27
- package/src/transactions.hpp +1 -1
- package/tools/gen-bindings-js.js +43 -9
- package/tools/gen-bindings-json.py +159 -101
- package/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +0 -26
- package/deps/couchbase-cxx-client/couchbase/capella_ca.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/cas_fmt.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/cluster.cxx +0 -124
- package/deps/couchbase-cxx-client/couchbase/cluster_options.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +0 -78
- package/deps/couchbase-cxx-client/couchbase/crypto/CMakeLists.txt +0 -12
- package/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.cc +0 -887
- package/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.h +0 -88
- package/deps/couchbase-cxx-client/couchbase/design_document_namespace.hxx +0 -26
- package/deps/couchbase-cxx-client/couchbase/design_document_namespace_fmt.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/diagnostics.hxx +0 -97
- package/deps/couchbase-cxx-client/couchbase/diagnostics_fmt.hxx +0 -113
- package/deps/couchbase-cxx-client/couchbase/diagnostics_json.hxx +0 -100
- package/deps/couchbase-cxx-client/couchbase/document_id.cxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/document_id.hxx +0 -107
- package/deps/couchbase-cxx-client/couchbase/document_id_fmt.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/error_context/analytics.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/error_context/http.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/error_context/key_value.hxx +0 -50
- package/deps/couchbase-cxx-client/couchbase/error_context/query.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/error_context/search.hxx +0 -50
- package/deps/couchbase-cxx-client/couchbase/error_context/view.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/errors.hxx +0 -1038
- package/deps/couchbase-cxx-client/couchbase/io/CMakeLists.txt +0 -12
- package/deps/couchbase-cxx-client/couchbase/io/dns_client.hxx +0 -217
- package/deps/couchbase-cxx-client/couchbase/io/dns_codec.hxx +0 -206
- package/deps/couchbase-cxx-client/couchbase/io/dns_config.hxx +0 -115
- package/deps/couchbase-cxx-client/couchbase/io/dns_message.hxx +0 -555
- package/deps/couchbase-cxx-client/couchbase/io/http_command.hxx +0 -174
- package/deps/couchbase-cxx-client/couchbase/io/http_context.hxx +0 -40
- package/deps/couchbase-cxx-client/couchbase/io/http_message.hxx +0 -116
- package/deps/couchbase-cxx-client/couchbase/io/http_parser.cxx +0 -141
- package/deps/couchbase-cxx-client/couchbase/io/http_parser.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/io/http_session.hxx +0 -548
- package/deps/couchbase-cxx-client/couchbase/io/http_session_manager.hxx +0 -381
- package/deps/couchbase-cxx-client/couchbase/io/http_traits.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/io/ip_protocol.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_command.hxx +0 -300
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_context.hxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_message.cxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_message.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.cxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.hxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_session.hxx +0 -1333
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_traits.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/io/query_cache.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/io/retry_action.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/io/retry_context.hxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/io/retry_orchestrator.hxx +0 -112
- package/deps/couchbase-cxx-client/couchbase/io/retry_reason.hxx +0 -158
- package/deps/couchbase-cxx-client/couchbase/io/retry_reason_fmt.hxx +0 -103
- package/deps/couchbase-cxx-client/couchbase/io/retry_strategy.hxx +0 -152
- package/deps/couchbase-cxx-client/couchbase/io/streams.hxx +0 -253
- package/deps/couchbase-cxx-client/couchbase/json_string.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/logger/CMakeLists.txt +0 -9
- package/deps/couchbase-cxx-client/couchbase/logger/configuration.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/logger/custom_rotating_file_sink.cxx +0 -157
- package/deps/couchbase-cxx-client/couchbase/logger/logger.cxx +0 -340
- package/deps/couchbase-cxx-client/couchbase/logger/logger.hxx +0 -235
- package/deps/couchbase-cxx-client/couchbase/management/CMakeLists.txt +0 -13
- package/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +0 -22
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.cxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.hxx +0 -76
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external_json.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.cxx +0 -104
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.hxx +0 -107
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote_json.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.cxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.hxx +0 -69
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external_json.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/management/bucket_settings.hxx +0 -134
- package/deps/couchbase-cxx-client/couchbase/management/bucket_settings_json.hxx +0 -123
- package/deps/couchbase-cxx-client/couchbase/management/design_document.hxx +0 -41
- package/deps/couchbase-cxx-client/couchbase/management/eventing_function.hxx +0 -188
- package/deps/couchbase-cxx-client/couchbase/management/eventing_function_json.hxx +0 -212
- package/deps/couchbase-cxx-client/couchbase/management/eventing_status.hxx +0 -84
- package/deps/couchbase-cxx-client/couchbase/management/eventing_status_json.hxx +0 -77
- package/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/management/rbac.hxx +0 -77
- package/deps/couchbase-cxx-client/couchbase/management/rbac_fmt.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/management/rbac_json.hxx +0 -179
- package/deps/couchbase-cxx-client/couchbase/management/search_index.hxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/management/search_index_json.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/meta/CMakeLists.txt +0 -15
- package/deps/couchbase-cxx-client/couchbase/meta/version.cxx +0 -188
- package/deps/couchbase-cxx-client/couchbase/meta/version.hxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/metrics/CMakeLists.txt +0 -11
- package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.cxx +0 -194
- package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.hxx +0 -74
- package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter_options.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/metrics/noop_meter.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/mutation_token_fmt.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/operations/CMakeLists.txt +0 -35
- package/deps/couchbase-cxx-client/couchbase/operations/document_analytics.cxx +0 -195
- package/deps/couchbase-cxx-client/couchbase/operations/document_analytics.hxx +0 -92
- package/deps/couchbase-cxx-client/couchbase/operations/document_append.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/document_append.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/document_decrement.cxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_decrement.hxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/operations/document_exists.cxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/document_exists.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/document_get.cxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/operations/document_get.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.cxx +0 -230
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/operations/document_increment.cxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_increment.hxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/operations/document_insert.cxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/document_insert.hxx +0 -65
- package/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.cxx +0 -81
- package/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.hxx +0 -64
- package/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.cxx +0 -104
- package/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.hxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/document_prepend.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/document_prepend.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/document_query.cxx +0 -382
- package/deps/couchbase-cxx-client/couchbase/operations/document_query.hxx +0 -123
- package/deps/couchbase-cxx-client/couchbase/operations/document_remove.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/document_remove.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/document_replace.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_replace.hxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/operations/document_search.cxx +0 -311
- package/deps/couchbase-cxx-client/couchbase/operations/document_search.hxx +0 -153
- package/deps/couchbase-cxx-client/couchbase/operations/document_touch.cxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/operations/document_touch.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_unlock.cxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/operations/document_unlock.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_upsert.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_upsert.hxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/operations/document_view.cxx +0 -186
- package/deps/couchbase-cxx-client/couchbase/operations/document_view.hxx +0 -98
- package/deps/couchbase-cxx-client/couchbase/operations/http_noop.cxx +0 -64
- package/deps/couchbase-cxx-client/couchbase/operations/http_noop.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/CMakeLists.txt +0 -79
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics.hxx +0 -34
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.cxx +0 -94
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.cxx +0 -83
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.cxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.cxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.cxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.cxx +0 -70
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.cxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.hxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.cxx +0 -90
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.cxx +0 -80
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.cxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.cxx +0 -87
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.hxx +0 -77
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.cxx +0 -80
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.hxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.cxx +0 -103
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.hxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.cxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.cxx +0 -87
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.hxx +0 -78
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_utils.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_problem.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket.hxx +0 -25
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.cxx +0 -171
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.cxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.cxx +0 -130
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.cxx +0 -90
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.hxx +0 -72
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.cxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.cxx +0 -83
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/collections.hxx +0 -25
- package/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.cxx +0 -40
- package/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.cxx +0 -267
- package/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.cxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.cxx +0 -64
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_problem.hxx +0 -31
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.cxx +0 -341
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/freeform.cxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/operations/management/freeform.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.cxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get.cxx +0 -60
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get.hxx +0 -50
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.cxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.cxx +0 -96
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/query.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.cxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.cxx +0 -149
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.hxx +0 -65
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.cxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.cxx +0 -126
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.cxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.cxx +0 -75
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.cxx +0 -70
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.cxx +0 -62
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/search.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.cxx +0 -41
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.cxx +0 -85
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.cxx +0 -72
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.cxx +0 -75
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.cxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.cxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.cxx +0 -71
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.cxx +0 -108
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/user.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.cxx +0 -101
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/view.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.cxx +0 -74
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.cxx +0 -108
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.cxx +0 -71
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.cxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations.hxx +0 -42
- package/deps/couchbase-cxx-client/couchbase/origin.hxx +0 -195
- package/deps/couchbase-cxx-client/couchbase/platform/CMakeLists.txt +0 -16
- package/deps/couchbase-cxx-client/couchbase/platform/backtrace.c +0 -189
- package/deps/couchbase-cxx-client/couchbase/platform/base64.cc +0 -234
- package/deps/couchbase-cxx-client/couchbase/platform/base64.h +0 -44
- package/deps/couchbase-cxx-client/couchbase/platform/dirutils.cc +0 -123
- package/deps/couchbase-cxx-client/couchbase/platform/dirutils.h +0 -43
- package/deps/couchbase-cxx-client/couchbase/platform/random.cc +0 -120
- package/deps/couchbase-cxx-client/couchbase/platform/random.h +0 -39
- package/deps/couchbase-cxx-client/couchbase/platform/string_hex.cc +0 -101
- package/deps/couchbase-cxx-client/couchbase/platform/string_hex.h +0 -50
- package/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.cc +0 -125
- package/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.h +0 -36
- package/deps/couchbase-cxx-client/couchbase/platform/uuid.cc +0 -98
- package/deps/couchbase-cxx-client/couchbase/platform/uuid.h +0 -56
- package/deps/couchbase-cxx-client/couchbase/protocol/CMakeLists.txt +0 -43
- package/deps/couchbase-cxx-client/couchbase/protocol/client_opcode.hxx +0 -359
- package/deps/couchbase-cxx-client/couchbase/protocol/client_opcode_fmt.hxx +0 -316
- package/deps/couchbase-cxx-client/couchbase/protocol/client_request.cxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/protocol/client_request.hxx +0 -157
- package/deps/couchbase-cxx-client/couchbase/protocol/client_response.cxx +0 -74
- package/deps/couchbase-cxx-client/couchbase/protocol/client_response.hxx +0 -209
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.cxx +0 -69
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.hxx +0 -107
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.cxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.cxx +0 -91
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.hxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.cxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.hxx +0 -121
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.hxx +0 -96
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.cxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.hxx +0 -112
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.cxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.hxx +0 -112
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.cxx +0 -85
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.hxx +0 -89
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.cxx +0 -60
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.hxx +0 -95
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.cxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.hxx +0 -84
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.hxx +0 -103
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.cxx +0 -70
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.hxx +0 -117
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.cxx +0 -76
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.hxx +0 -136
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.cxx +0 -93
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.hxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_info.hxx +0 -29
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.cxx +0 -78
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.hxx +0 -123
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.cxx +0 -109
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.hxx +0 -165
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.cxx +0 -158
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.hxx +0 -311
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.cxx +0 -36
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.hxx +0 -75
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.cxx +0 -68
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.hxx +0 -102
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.cxx +0 -69
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.hxx +0 -93
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.cxx +0 -87
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.hxx +0 -130
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.hxx +0 -91
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.cxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.hxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.hxx +0 -91
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.hxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.cxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.hxx +0 -84
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.cxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.hxx +0 -81
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.cxx +0 -86
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.hxx +0 -125
- package/deps/couchbase-cxx-client/couchbase/protocol/datatype.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/protocol/durability_level.hxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/protocol/durability_level_fmt.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info_fmt.hxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id.hxx +0 -142
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id_fmt.hxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/protocol/hello_feature.hxx +0 -186
- package/deps/couchbase-cxx-client/couchbase/protocol/hello_feature_fmt.hxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/protocol/magic.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/magic_fmt.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/protocol/server_opcode.hxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/protocol/server_opcode_fmt.hxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/protocol/server_request.hxx +0 -121
- package/deps/couchbase-cxx-client/couchbase/protocol/status.cxx +0 -187
- package/deps/couchbase-cxx-client/couchbase/protocol/status.hxx +0 -180
- package/deps/couchbase-cxx-client/couchbase/protocol/status_fmt.hxx +0 -241
- package/deps/couchbase-cxx-client/couchbase/query_profile_mode.hxx +0 -27
- package/deps/couchbase-cxx-client/couchbase/query_scan_consistency.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/sasl/CMakeLists.txt +0 -16
- package/deps/couchbase-cxx-client/couchbase/sasl/client.cc +0 -50
- package/deps/couchbase-cxx-client/couchbase/sasl/client.h +0 -128
- package/deps/couchbase-cxx-client/couchbase/sasl/context.cc +0 -34
- package/deps/couchbase-cxx-client/couchbase/sasl/context.h +0 -52
- package/deps/couchbase-cxx-client/couchbase/sasl/error.h +0 -28
- package/deps/couchbase-cxx-client/couchbase/sasl/error_fmt.h +0 -70
- package/deps/couchbase-cxx-client/couchbase/sasl/mechanism.cc +0 -45
- package/deps/couchbase-cxx-client/couchbase/sasl/mechanism.h +0 -52
- package/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.cc +0 -39
- package/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.h +0 -54
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.cc +0 -372
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.h +0 -184
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.cc +0 -82
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.h +0 -48
- package/deps/couchbase-cxx-client/couchbase/search_highlight_style.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/search_scan_consistency.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/service_type.hxx +0 -31
- package/deps/couchbase-cxx-client/couchbase/service_type_fmt.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/timeout_defaults.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/topology/CMakeLists.txt +0 -9
- package/deps/couchbase-cxx-client/couchbase/topology/capabilities.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/topology/capabilities_fmt.hxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_fmt.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_json.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/topology/configuration.cxx +0 -223
- package/deps/couchbase-cxx-client/couchbase/topology/configuration.hxx +0 -120
- package/deps/couchbase-cxx-client/couchbase/topology/configuration_fmt.hxx +0 -166
- package/deps/couchbase-cxx-client/couchbase/topology/configuration_json.hxx +0 -259
- package/deps/couchbase-cxx-client/couchbase/topology/error_map.hxx +0 -149
- package/deps/couchbase-cxx-client/couchbase/topology/error_map_fmt.hxx +0 -94
- package/deps/couchbase-cxx-client/couchbase/topology/error_map_json.hxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/tracing/CMakeLists.txt +0 -9
- package/deps/couchbase-cxx-client/couchbase/tracing/constants.hxx +0 -274
- package/deps/couchbase-cxx-client/couchbase/tracing/noop_tracer.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_options.hxx +0 -68
- package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.cxx +0 -422
- package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/utils/CMakeLists.txt +0 -18
- package/deps/couchbase-cxx-client/couchbase/utils/binary.cxx +0 -27
- package/deps/couchbase-cxx-client/couchbase/utils/binary.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/utils/byteswap.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/utils/connection_string.cxx +0 -420
- package/deps/couchbase-cxx-client/couchbase/utils/connection_string.hxx +0 -76
- package/deps/couchbase-cxx-client/couchbase/utils/crc32.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/utils/duration_parser.cxx +0 -193
- package/deps/couchbase-cxx-client/couchbase/utils/duration_parser.hxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/utils/join_strings.hxx +0 -65
- package/deps/couchbase-cxx-client/couchbase/utils/json.cxx +0 -281
- package/deps/couchbase-cxx-client/couchbase/utils/json.hxx +0 -40
- package/deps/couchbase-cxx-client/couchbase/utils/json_stream_control.hxx +0 -32
- package/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.cxx +0 -398
- package/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/utils/movable_function.hxx +0 -110
- package/deps/couchbase-cxx-client/couchbase/utils/name_codec.hxx +0 -41
- package/deps/couchbase-cxx-client/couchbase/utils/unsigned_leb128.hxx +0 -181
- package/deps/couchbase-cxx-client/couchbase/utils/url_codec.cxx +0 -404
- package/deps/couchbase-cxx-client/couchbase/utils/url_codec.hxx +0 -72
- package/deps/couchbase-cxx-client/couchbase/view_scan_consistency.hxx +0 -27
- package/deps/couchbase-cxx-client/couchbase/view_sort_order.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +0 -26
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/capella_ca.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cas_fmt.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster.cxx +0 -124
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster_options.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +0 -78
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/CMakeLists.txt +0 -12
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.cc +0 -887
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.h +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/design_document_namespace.hxx +0 -26
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/design_document_namespace_fmt.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics.hxx +0 -97
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics_fmt.hxx +0 -113
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics_json.hxx +0 -100
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id.cxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id.hxx +0 -107
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id_fmt.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/analytics.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/http.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/key_value.hxx +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/query.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/search.hxx +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/view.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/errors.hxx +0 -1038
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/CMakeLists.txt +0 -12
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_client.hxx +0 -217
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_codec.hxx +0 -206
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_config.hxx +0 -115
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_message.hxx +0 -555
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_command.hxx +0 -174
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_context.hxx +0 -40
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_message.hxx +0 -116
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_parser.cxx +0 -141
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_parser.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_session.hxx +0 -548
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_session_manager.hxx +0 -381
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_traits.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/ip_protocol.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_command.hxx +0 -300
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_context.hxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_message.cxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_message.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.cxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.hxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_session.hxx +0 -1333
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_traits.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/query_cache.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_action.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_context.hxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_orchestrator.hxx +0 -112
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_reason.hxx +0 -158
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_reason_fmt.hxx +0 -103
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_strategy.hxx +0 -152
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/streams.hxx +0 -253
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/json_string.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/CMakeLists.txt +0 -9
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/configuration.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/custom_rotating_file_sink.cxx +0 -157
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/logger.cxx +0 -340
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/logger.hxx +0 -235
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/CMakeLists.txt +0 -13
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +0 -22
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.cxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.hxx +0 -76
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external_json.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.cxx +0 -104
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.hxx +0 -107
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote_json.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.cxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.hxx +0 -69
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external_json.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/bucket_settings.hxx +0 -134
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/bucket_settings_json.hxx +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/design_document.hxx +0 -41
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_function.hxx +0 -188
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_function_json.hxx +0 -212
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_status.hxx +0 -84
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_status_json.hxx +0 -77
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac.hxx +0 -77
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac_fmt.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac_json.hxx +0 -179
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/search_index.hxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/search_index_json.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/CMakeLists.txt +0 -15
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/version.cxx +0 -188
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/version.hxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/CMakeLists.txt +0 -11
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.cxx +0 -194
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.hxx +0 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter_options.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/noop_meter.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_token_fmt.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/CMakeLists.txt +0 -35
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_analytics.cxx +0 -195
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_analytics.hxx +0 -92
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_append.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_append.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_decrement.cxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_decrement.hxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_exists.cxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_exists.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get.cxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.cxx +0 -230
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_increment.cxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_increment.hxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_insert.cxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_insert.hxx +0 -65
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.cxx +0 -81
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.hxx +0 -64
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.cxx +0 -104
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.hxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_prepend.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_prepend.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_query.cxx +0 -382
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_query.hxx +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_remove.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_remove.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_replace.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_replace.hxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_search.cxx +0 -311
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_search.hxx +0 -153
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_touch.cxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_touch.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_unlock.cxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_unlock.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_upsert.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_upsert.hxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_view.cxx +0 -186
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_view.hxx +0 -98
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/http_noop.cxx +0 -64
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/http_noop.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/CMakeLists.txt +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics.hxx +0 -34
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.cxx +0 -94
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.cxx +0 -83
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.cxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.cxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.cxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.cxx +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.cxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.hxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.cxx +0 -90
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.cxx +0 -80
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.cxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.cxx +0 -87
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.hxx +0 -77
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.cxx +0 -80
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.hxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.cxx +0 -103
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.hxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.cxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.cxx +0 -87
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.hxx +0 -78
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_utils.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_problem.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket.hxx +0 -25
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.cxx +0 -171
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.cxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.cxx +0 -130
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.cxx +0 -90
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.hxx +0 -72
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.cxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.cxx +0 -83
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections.hxx +0 -25
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.cxx +0 -40
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.cxx +0 -267
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.cxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.cxx +0 -64
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_problem.hxx +0 -31
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.cxx +0 -341
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/freeform.cxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/freeform.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.cxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get.cxx +0 -60
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get.hxx +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.cxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.cxx +0 -96
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.cxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.cxx +0 -149
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.hxx +0 -65
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.cxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.cxx +0 -126
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.cxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.cxx +0 -75
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.cxx +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.cxx +0 -62
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.cxx +0 -41
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.cxx +0 -85
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.cxx +0 -72
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.cxx +0 -75
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.cxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.cxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.cxx +0 -71
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.cxx +0 -108
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.cxx +0 -101
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.cxx +0 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.cxx +0 -108
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.cxx +0 -71
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.cxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations.hxx +0 -42
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/origin.hxx +0 -195
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/CMakeLists.txt +0 -16
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/backtrace.c +0 -189
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/base64.cc +0 -234
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/base64.h +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/dirutils.cc +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/dirutils.h +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/random.cc +0 -120
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/random.h +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/string_hex.cc +0 -101
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/string_hex.h +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.cc +0 -125
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.h +0 -36
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/uuid.cc +0 -98
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/uuid.h +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/CMakeLists.txt +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_opcode.hxx +0 -359
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_opcode_fmt.hxx +0 -316
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_request.cxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_request.hxx +0 -157
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_response.cxx +0 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_response.hxx +0 -209
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.cxx +0 -69
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.hxx +0 -107
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.cxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.cxx +0 -91
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.hxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.cxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.hxx +0 -121
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.hxx +0 -96
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.cxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.hxx +0 -112
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.cxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.hxx +0 -112
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.cxx +0 -85
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.hxx +0 -89
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.cxx +0 -60
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.hxx +0 -95
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.cxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.hxx +0 -84
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.hxx +0 -103
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.cxx +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.hxx +0 -117
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.cxx +0 -76
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.hxx +0 -136
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.cxx +0 -93
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.hxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_info.hxx +0 -29
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.cxx +0 -78
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.hxx +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.cxx +0 -109
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.hxx +0 -165
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.cxx +0 -158
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.hxx +0 -311
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.cxx +0 -36
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.hxx +0 -75
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.cxx +0 -68
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.hxx +0 -102
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.cxx +0 -69
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.hxx +0 -93
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.cxx +0 -87
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.hxx +0 -130
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.hxx +0 -91
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.cxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.hxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.hxx +0 -91
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.hxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.cxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.hxx +0 -84
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.cxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.hxx +0 -81
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.cxx +0 -86
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.hxx +0 -125
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/datatype.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/durability_level.hxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/durability_level_fmt.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info_fmt.hxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id.hxx +0 -142
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id_fmt.hxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/hello_feature.hxx +0 -186
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/hello_feature_fmt.hxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/magic.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/magic_fmt.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_opcode.hxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_opcode_fmt.hxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_request.hxx +0 -121
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status.cxx +0 -187
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status.hxx +0 -180
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status_fmt.hxx +0 -241
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_profile_mode.hxx +0 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_scan_consistency.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/CMakeLists.txt +0 -16
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/client.cc +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/client.h +0 -128
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/context.cc +0 -34
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/context.h +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/error.h +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/error_fmt.h +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/mechanism.cc +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/mechanism.h +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.cc +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.h +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.cc +0 -372
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.h +0 -184
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.cc +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.h +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/search_highlight_style.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/search_scan_consistency.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/service_type.hxx +0 -31
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/service_type_fmt.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/timeout_defaults.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/CMakeLists.txt +0 -9
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/capabilities.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/capabilities_fmt.hxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_fmt.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_json.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration.cxx +0 -223
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration.hxx +0 -120
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration_fmt.hxx +0 -166
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration_json.hxx +0 -259
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map.hxx +0 -149
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map_fmt.hxx +0 -94
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map_json.hxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/CMakeLists.txt +0 -9
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/constants.hxx +0 -274
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/noop_tracer.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_options.hxx +0 -68
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.cxx +0 -422
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/CMakeLists.txt +0 -18
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/binary.cxx +0 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/binary.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/byteswap.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/connection_string.cxx +0 -420
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/connection_string.hxx +0 -76
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/crc32.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/duration_parser.cxx +0 -193
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/duration_parser.hxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/join_strings.hxx +0 -65
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json.cxx +0 -281
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json.hxx +0 -40
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_stream_control.hxx +0 -32
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.cxx +0 -398
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/movable_function.hxx +0 -110
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/name_codec.hxx +0 -41
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/unsigned_leb128.hxx +0 -181
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/url_codec.cxx +0 -404
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/url_codec.hxx +0 -72
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/view_scan_consistency.hxx +0 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/view_sort_order.hxx +0 -23
@@ -0,0 +1,1336 @@
|
|
1
|
+
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright 2020-2021 Couchbase, Inc.
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
|
18
|
+
#pragma once
|
19
|
+
|
20
|
+
#include "core/diagnostics.hxx"
|
21
|
+
#include "core/logger/logger.hxx"
|
22
|
+
#include "core/meta/version.hxx"
|
23
|
+
#include "core/origin.hxx"
|
24
|
+
#include "core/platform/uuid.h"
|
25
|
+
#include "core/protocol/client_request.hxx"
|
26
|
+
#include "core/protocol/client_response.hxx"
|
27
|
+
#include "core/protocol/cmd_cluster_map_change_notification.hxx"
|
28
|
+
#include "core/protocol/cmd_get.hxx"
|
29
|
+
#include "core/protocol/cmd_get_cluster_config.hxx"
|
30
|
+
#include "core/protocol/cmd_get_error_map.hxx"
|
31
|
+
#include "core/protocol/cmd_hello.hxx"
|
32
|
+
#include "core/protocol/cmd_noop.hxx"
|
33
|
+
#include "core/protocol/cmd_sasl_auth.hxx"
|
34
|
+
#include "core/protocol/cmd_sasl_list_mechs.hxx"
|
35
|
+
#include "core/protocol/cmd_sasl_step.hxx"
|
36
|
+
#include "core/protocol/cmd_select_bucket.hxx"
|
37
|
+
#include "core/protocol/hello_feature.hxx"
|
38
|
+
#include "core/protocol/hello_feature_fmt.hxx"
|
39
|
+
#include "core/protocol/server_request.hxx"
|
40
|
+
#include "core/sasl/client.h"
|
41
|
+
#include "core/sasl/error.h"
|
42
|
+
#include "core/sasl/error_fmt.h"
|
43
|
+
#include "core/topology/capabilities_fmt.hxx"
|
44
|
+
#include "core/topology/configuration_fmt.hxx"
|
45
|
+
#include "core/utils/join_strings.hxx"
|
46
|
+
#include "core/utils/movable_function.hxx"
|
47
|
+
#include "mcbp_context.hxx"
|
48
|
+
#include "mcbp_message.hxx"
|
49
|
+
#include "mcbp_parser.hxx"
|
50
|
+
#include "retry_orchestrator.hxx"
|
51
|
+
#include "streams.hxx"
|
52
|
+
|
53
|
+
#include <couchbase/error_codes.hxx>
|
54
|
+
#include <couchbase/fmt/retry_reason.hxx>
|
55
|
+
#include <couchbase/retry_reason.hxx>
|
56
|
+
|
57
|
+
#include <asio.hpp>
|
58
|
+
#include <cstring>
|
59
|
+
#include <spdlog/fmt/bin_to_hex.h>
|
60
|
+
#include <utility>
|
61
|
+
|
62
|
+
namespace couchbase::core::io
|
63
|
+
{
|
64
|
+
|
65
|
+
class mcbp_session : public std::enable_shared_from_this<mcbp_session>
|
66
|
+
{
|
67
|
+
class collection_cache
|
68
|
+
{
|
69
|
+
private:
|
70
|
+
std::map<std::string, std::uint32_t> cid_map_{ { "_default._default", 0 } };
|
71
|
+
|
72
|
+
public:
|
73
|
+
[[nodiscard]] std::optional<std::uint32_t> get(const std::string& path)
|
74
|
+
{
|
75
|
+
Expects(!path.empty());
|
76
|
+
if (auto ptr = cid_map_.find(path); ptr != cid_map_.end()) {
|
77
|
+
return ptr->second;
|
78
|
+
}
|
79
|
+
return {};
|
80
|
+
}
|
81
|
+
|
82
|
+
void update(const std::string& path, std::uint32_t id)
|
83
|
+
{
|
84
|
+
Expects(!path.empty());
|
85
|
+
cid_map_[path] = id;
|
86
|
+
}
|
87
|
+
|
88
|
+
void reset()
|
89
|
+
{
|
90
|
+
cid_map_.clear();
|
91
|
+
cid_map_["_default._default"] = 0;
|
92
|
+
}
|
93
|
+
};
|
94
|
+
|
95
|
+
class message_handler
|
96
|
+
{
|
97
|
+
public:
|
98
|
+
virtual void handle(mcbp_message&& msg) = 0;
|
99
|
+
|
100
|
+
virtual ~message_handler() = default;
|
101
|
+
|
102
|
+
virtual void stop()
|
103
|
+
{
|
104
|
+
}
|
105
|
+
};
|
106
|
+
|
107
|
+
class bootstrap_handler : public message_handler
|
108
|
+
{
|
109
|
+
private:
|
110
|
+
std::shared_ptr<mcbp_session> session_;
|
111
|
+
sasl::ClientContext sasl_;
|
112
|
+
std::atomic_bool stopped_{ false };
|
113
|
+
|
114
|
+
public:
|
115
|
+
~bootstrap_handler() override = default;
|
116
|
+
|
117
|
+
void stop() override
|
118
|
+
{
|
119
|
+
if (stopped_) {
|
120
|
+
return;
|
121
|
+
}
|
122
|
+
stopped_ = true;
|
123
|
+
session_.reset();
|
124
|
+
}
|
125
|
+
|
126
|
+
explicit bootstrap_handler(std::shared_ptr<mcbp_session> session)
|
127
|
+
: session_(session)
|
128
|
+
, sasl_([origin = session_->origin_]() { return origin.username(); },
|
129
|
+
[origin = session_->origin_]() { return origin.password(); },
|
130
|
+
session_->origin_.credentials().allowed_sasl_mechanisms)
|
131
|
+
{
|
132
|
+
protocol::client_request<protocol::hello_request_body> hello_req;
|
133
|
+
if (session_->origin_.options().enable_unordered_execution) {
|
134
|
+
hello_req.body().enable_unordered_execution();
|
135
|
+
}
|
136
|
+
if (session_->origin_.options().enable_clustermap_notification) {
|
137
|
+
hello_req.body().enable_clustermap_change_notification();
|
138
|
+
}
|
139
|
+
if (session_->origin_.options().enable_compression) {
|
140
|
+
hello_req.body().enable_compression();
|
141
|
+
}
|
142
|
+
hello_req.opaque(session_->next_opaque());
|
143
|
+
auto user_agent =
|
144
|
+
meta::user_agent_for_mcbp(session_->client_id_, session_->id_, session_->origin_.options().user_agent_extra, 250);
|
145
|
+
hello_req.body().user_agent(user_agent);
|
146
|
+
LOG_DEBUG("{} user_agent={}, requested_features=[{}]",
|
147
|
+
session_->log_prefix_,
|
148
|
+
user_agent,
|
149
|
+
utils::join_strings_fmt("{}", hello_req.body().features(), ", "));
|
150
|
+
session_->write(hello_req.data());
|
151
|
+
|
152
|
+
if (!session->origin_.credentials().uses_certificate()) {
|
153
|
+
protocol::client_request<protocol::sasl_list_mechs_request_body> list_req;
|
154
|
+
list_req.opaque(session_->next_opaque());
|
155
|
+
session_->write(list_req.data());
|
156
|
+
|
157
|
+
protocol::client_request<protocol::sasl_auth_request_body> auth_req;
|
158
|
+
auto [sasl_code, sasl_payload] = sasl_.start();
|
159
|
+
auth_req.opaque(session_->next_opaque());
|
160
|
+
auth_req.body().mechanism(sasl_.get_name());
|
161
|
+
auth_req.body().sasl_data(sasl_payload);
|
162
|
+
session_->write(auth_req.data());
|
163
|
+
}
|
164
|
+
|
165
|
+
session_->flush();
|
166
|
+
}
|
167
|
+
|
168
|
+
void complete(std::error_code ec)
|
169
|
+
{
|
170
|
+
stopped_ = true;
|
171
|
+
session_->invoke_bootstrap_handler(ec);
|
172
|
+
}
|
173
|
+
|
174
|
+
void auth_success()
|
175
|
+
{
|
176
|
+
session_->authenticated_ = true;
|
177
|
+
if (session_->supports_feature(protocol::hello_feature::xerror)) {
|
178
|
+
protocol::client_request<protocol::get_error_map_request_body> errmap_req;
|
179
|
+
errmap_req.opaque(session_->next_opaque());
|
180
|
+
session_->write(errmap_req.data());
|
181
|
+
}
|
182
|
+
if (session_->bucket_name_) {
|
183
|
+
protocol::client_request<protocol::select_bucket_request_body> sb_req;
|
184
|
+
sb_req.opaque(session_->next_opaque());
|
185
|
+
sb_req.body().bucket_name(session_->bucket_name_.value());
|
186
|
+
session_->write(sb_req.data());
|
187
|
+
}
|
188
|
+
protocol::client_request<protocol::get_cluster_config_request_body> cfg_req;
|
189
|
+
cfg_req.opaque(session_->next_opaque());
|
190
|
+
session_->write(cfg_req.data());
|
191
|
+
session_->flush();
|
192
|
+
}
|
193
|
+
|
194
|
+
void handle(mcbp_message&& msg) override
|
195
|
+
{
|
196
|
+
if (stopped_ || !session_) {
|
197
|
+
return;
|
198
|
+
}
|
199
|
+
Expects(protocol::is_valid_magic(msg.header.magic));
|
200
|
+
switch (auto magic = static_cast<protocol::magic>(msg.header.magic)) {
|
201
|
+
case protocol::magic::client_response:
|
202
|
+
case protocol::magic::alt_client_response:
|
203
|
+
Expects(protocol::is_valid_client_opcode(msg.header.opcode));
|
204
|
+
switch (auto status = static_cast<key_value_status_code>(msg.header.status())) {
|
205
|
+
case key_value_status_code::rate_limited_max_commands:
|
206
|
+
case key_value_status_code::rate_limited_max_connections:
|
207
|
+
case key_value_status_code::rate_limited_network_egress:
|
208
|
+
case key_value_status_code::rate_limited_network_ingress:
|
209
|
+
LOG_DEBUG(
|
210
|
+
"{} unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), the user has reached rate limit",
|
211
|
+
session_->log_prefix_,
|
212
|
+
session_->bucket_name_.value_or(""),
|
213
|
+
protocol::client_opcode(msg.header.opcode),
|
214
|
+
status);
|
215
|
+
return complete(errc::common::rate_limited);
|
216
|
+
|
217
|
+
case key_value_status_code::scope_size_limit_exceeded:
|
218
|
+
LOG_DEBUG(
|
219
|
+
"{} unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), the user has reached quota limit",
|
220
|
+
session_->log_prefix_,
|
221
|
+
session_->bucket_name_.value_or(""),
|
222
|
+
protocol::client_opcode(msg.header.opcode),
|
223
|
+
status);
|
224
|
+
return complete(errc::common::quota_limited);
|
225
|
+
|
226
|
+
default:
|
227
|
+
break;
|
228
|
+
}
|
229
|
+
switch (auto opcode = static_cast<protocol::client_opcode>(msg.header.opcode)) {
|
230
|
+
case protocol::client_opcode::hello: {
|
231
|
+
protocol::client_response<protocol::hello_response_body> resp(std::move(msg));
|
232
|
+
if (resp.status() == key_value_status_code::success) {
|
233
|
+
session_->supported_features_ = resp.body().supported_features();
|
234
|
+
LOG_DEBUG("{} supported_features=[{}]",
|
235
|
+
session_->log_prefix_,
|
236
|
+
utils::join_strings_fmt("{}", session_->supported_features_, ", "));
|
237
|
+
if (session_->origin_.credentials().uses_certificate()) {
|
238
|
+
LOG_DEBUG("{} skip SASL authentication, because TLS certificate was specified", session_->log_prefix_);
|
239
|
+
return auth_success();
|
240
|
+
}
|
241
|
+
} else {
|
242
|
+
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={})",
|
243
|
+
session_->log_prefix_,
|
244
|
+
resp.error_message(),
|
245
|
+
resp.opaque());
|
246
|
+
return complete(errc::network::handshake_failure);
|
247
|
+
}
|
248
|
+
} break;
|
249
|
+
case protocol::client_opcode::sasl_list_mechs: {
|
250
|
+
protocol::client_response<protocol::sasl_list_mechs_response_body> resp(std::move(msg));
|
251
|
+
if (resp.status() != key_value_status_code::success) {
|
252
|
+
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={})",
|
253
|
+
session_->log_prefix_,
|
254
|
+
resp.error_message(),
|
255
|
+
resp.opaque());
|
256
|
+
return complete(errc::common::authentication_failure);
|
257
|
+
}
|
258
|
+
} break;
|
259
|
+
case protocol::client_opcode::sasl_auth: {
|
260
|
+
protocol::client_response<protocol::sasl_auth_response_body> resp(std::move(msg));
|
261
|
+
if (resp.status() == key_value_status_code::success) {
|
262
|
+
return auth_success();
|
263
|
+
}
|
264
|
+
if (resp.status() == key_value_status_code::auth_continue) {
|
265
|
+
auto [sasl_code, sasl_payload] = sasl_.step(resp.body().value());
|
266
|
+
if (sasl_code == sasl::error::OK) {
|
267
|
+
return auth_success();
|
268
|
+
}
|
269
|
+
if (sasl_code == sasl::error::CONTINUE) {
|
270
|
+
protocol::client_request<protocol::sasl_step_request_body> req;
|
271
|
+
req.opaque(session_->next_opaque());
|
272
|
+
req.body().mechanism(sasl_.get_name());
|
273
|
+
req.body().sasl_data(sasl_payload);
|
274
|
+
session_->write_and_flush(req.data());
|
275
|
+
} else {
|
276
|
+
LOG_ERROR("{} unable to authenticate: (sasl_code={}, opaque={})",
|
277
|
+
session_->log_prefix_,
|
278
|
+
sasl_code,
|
279
|
+
resp.opaque());
|
280
|
+
return complete(errc::common::authentication_failure);
|
281
|
+
}
|
282
|
+
} else {
|
283
|
+
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={})",
|
284
|
+
session_->log_prefix_,
|
285
|
+
resp.error_message(),
|
286
|
+
resp.opaque());
|
287
|
+
return complete(errc::common::authentication_failure);
|
288
|
+
}
|
289
|
+
} break;
|
290
|
+
case protocol::client_opcode::sasl_step: {
|
291
|
+
protocol::client_response<protocol::sasl_step_response_body> resp(std::move(msg));
|
292
|
+
if (resp.status() == key_value_status_code::success) {
|
293
|
+
return auth_success();
|
294
|
+
}
|
295
|
+
return complete(errc::common::authentication_failure);
|
296
|
+
}
|
297
|
+
case protocol::client_opcode::get_error_map: {
|
298
|
+
protocol::client_response<protocol::get_error_map_response_body> resp(std::move(msg));
|
299
|
+
if (resp.status() == key_value_status_code::success) {
|
300
|
+
session_->error_map_.emplace(resp.body().errmap());
|
301
|
+
} else {
|
302
|
+
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={}, {:n})",
|
303
|
+
session_->log_prefix_,
|
304
|
+
resp.error_message(),
|
305
|
+
resp.opaque(),
|
306
|
+
spdlog::to_hex(resp.header()));
|
307
|
+
return complete(errc::network::protocol_error);
|
308
|
+
}
|
309
|
+
} break;
|
310
|
+
case protocol::client_opcode::select_bucket: {
|
311
|
+
protocol::client_response<protocol::select_bucket_response_body> resp(std::move(msg));
|
312
|
+
if (resp.status() == key_value_status_code::success) {
|
313
|
+
LOG_DEBUG("{} selected bucket: {}", session_->log_prefix_, session_->bucket_name_.value_or(""));
|
314
|
+
session_->bucket_selected_ = true;
|
315
|
+
} else if (resp.status() == key_value_status_code::not_found) {
|
316
|
+
LOG_DEBUG("{} kv_engine node does not have configuration propagated yet (opcode={}, status={}, opaque={})",
|
317
|
+
session_->log_prefix_,
|
318
|
+
opcode,
|
319
|
+
resp.status(),
|
320
|
+
resp.opaque());
|
321
|
+
return complete(errc::network::configuration_not_available);
|
322
|
+
} else if (resp.status() == key_value_status_code::no_access) {
|
323
|
+
LOG_DEBUG("{} unable to select bucket: {}, probably the bucket does not exist",
|
324
|
+
session_->log_prefix_,
|
325
|
+
session_->bucket_name_.value_or(""));
|
326
|
+
session_->bucket_selected_ = false;
|
327
|
+
return complete(errc::common::bucket_not_found);
|
328
|
+
} else {
|
329
|
+
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={}, {:n})",
|
330
|
+
session_->log_prefix_,
|
331
|
+
resp.error_message(),
|
332
|
+
resp.opaque(),
|
333
|
+
spdlog::to_hex(resp.header()));
|
334
|
+
return complete(errc::common::bucket_not_found);
|
335
|
+
}
|
336
|
+
} break;
|
337
|
+
case protocol::client_opcode::get_cluster_config: {
|
338
|
+
protocol::cmd_info info{ session_->endpoint_address_, session_->endpoint_.port() };
|
339
|
+
protocol::client_response<protocol::get_cluster_config_response_body> resp(std::move(msg), info);
|
340
|
+
if (resp.status() == key_value_status_code::success) {
|
341
|
+
session_->update_configuration(resp.body().config());
|
342
|
+
complete({});
|
343
|
+
} else if (resp.status() == key_value_status_code::not_found) {
|
344
|
+
LOG_DEBUG("{} kv_engine node does not have configuration propagated yet (opcode={}, status={}, opaque={})",
|
345
|
+
session_->log_prefix_,
|
346
|
+
opcode,
|
347
|
+
resp.status(),
|
348
|
+
resp.opaque());
|
349
|
+
return complete(errc::network::configuration_not_available);
|
350
|
+
} else if (resp.status() == key_value_status_code::no_bucket && !session_->bucket_name_) {
|
351
|
+
// bucket-less session, but the server wants bucket
|
352
|
+
session_->supports_gcccp_ = false;
|
353
|
+
LOG_WARNING("{} this server does not support GCCCP, open bucket before making any cluster-level command",
|
354
|
+
session_->log_prefix_);
|
355
|
+
session_->update_configuration(
|
356
|
+
topology::make_blank_configuration(session_->endpoint_address_, session_->endpoint_.port(), 0));
|
357
|
+
complete({});
|
358
|
+
} else {
|
359
|
+
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={}, {:n})",
|
360
|
+
session_->log_prefix_,
|
361
|
+
resp.error_message(),
|
362
|
+
resp.opaque(),
|
363
|
+
spdlog::to_hex(resp.header()));
|
364
|
+
return complete(errc::network::protocol_error);
|
365
|
+
}
|
366
|
+
} break;
|
367
|
+
default:
|
368
|
+
LOG_WARNING("{} unexpected message during bootstrap: {}", session_->log_prefix_, opcode);
|
369
|
+
return complete(errc::network::protocol_error);
|
370
|
+
}
|
371
|
+
break;
|
372
|
+
case protocol::magic::server_request:
|
373
|
+
Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
|
374
|
+
switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
|
375
|
+
case protocol::server_opcode::cluster_map_change_notification: {
|
376
|
+
protocol::cmd_info info{ session_->endpoint_address_, session_->endpoint_.port() };
|
377
|
+
protocol::server_request<protocol::cluster_map_change_notification_request_body> req(std::move(msg), info);
|
378
|
+
std::optional<topology::configuration> config = req.body().config();
|
379
|
+
if (session_ && config.has_value()) {
|
380
|
+
if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
|
381
|
+
(session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
|
382
|
+
session_->bucket_name_.value() == req.body().bucket())) {
|
383
|
+
session_->update_configuration(std::move(config.value()));
|
384
|
+
}
|
385
|
+
}
|
386
|
+
} break;
|
387
|
+
default:
|
388
|
+
LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
|
389
|
+
session_->log_prefix_,
|
390
|
+
msg.header.opcode,
|
391
|
+
msg.header.opaque,
|
392
|
+
spdlog::to_hex(msg.header_data()),
|
393
|
+
spdlog::to_hex(msg.body));
|
394
|
+
}
|
395
|
+
break;
|
396
|
+
case protocol::magic::client_request:
|
397
|
+
case protocol::magic::alt_client_request:
|
398
|
+
case protocol::magic::server_response:
|
399
|
+
LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
|
400
|
+
session_->log_prefix_,
|
401
|
+
magic,
|
402
|
+
msg.header.opcode,
|
403
|
+
msg.header.opaque,
|
404
|
+
spdlog::to_hex(msg.header_data()),
|
405
|
+
spdlog::to_hex(msg.body));
|
406
|
+
break;
|
407
|
+
}
|
408
|
+
}
|
409
|
+
};
|
410
|
+
|
411
|
+
class normal_handler
|
412
|
+
: public message_handler
|
413
|
+
, public std::enable_shared_from_this<normal_handler>
|
414
|
+
{
|
415
|
+
private:
|
416
|
+
std::shared_ptr<mcbp_session> session_;
|
417
|
+
asio::steady_timer heartbeat_timer_;
|
418
|
+
std::atomic_bool stopped_{ false };
|
419
|
+
|
420
|
+
public:
|
421
|
+
~normal_handler() override
|
422
|
+
{
|
423
|
+
stop();
|
424
|
+
}
|
425
|
+
|
426
|
+
explicit normal_handler(std::shared_ptr<mcbp_session> session)
|
427
|
+
: session_(session)
|
428
|
+
, heartbeat_timer_(session_->ctx_)
|
429
|
+
{
|
430
|
+
}
|
431
|
+
|
432
|
+
void start()
|
433
|
+
{
|
434
|
+
if (session_->supports_gcccp_) {
|
435
|
+
fetch_config({});
|
436
|
+
}
|
437
|
+
}
|
438
|
+
|
439
|
+
void stop() override
|
440
|
+
{
|
441
|
+
if (stopped_) {
|
442
|
+
return;
|
443
|
+
}
|
444
|
+
stopped_ = true;
|
445
|
+
heartbeat_timer_.cancel();
|
446
|
+
session_.reset();
|
447
|
+
}
|
448
|
+
|
449
|
+
void handle(mcbp_message&& msg) override
|
450
|
+
{
|
451
|
+
if (stopped_ || !session_) {
|
452
|
+
return;
|
453
|
+
}
|
454
|
+
Expects(protocol::is_valid_magic(msg.header.magic));
|
455
|
+
switch (auto magic = static_cast<protocol::magic>(msg.header.magic)) {
|
456
|
+
case protocol::magic::client_response:
|
457
|
+
case protocol::magic::alt_client_response:
|
458
|
+
Expects(protocol::is_valid_client_opcode(msg.header.opcode));
|
459
|
+
switch (auto opcode = static_cast<protocol::client_opcode>(msg.header.opcode)) {
|
460
|
+
case protocol::client_opcode::get_cluster_config: {
|
461
|
+
protocol::cmd_info info{ session_->endpoint_address_, session_->endpoint_.port() };
|
462
|
+
protocol::client_response<protocol::get_cluster_config_response_body> resp(std::move(msg), info);
|
463
|
+
if (resp.status() == key_value_status_code::success) {
|
464
|
+
if (session_) {
|
465
|
+
session_->update_configuration(resp.body().config());
|
466
|
+
}
|
467
|
+
} else {
|
468
|
+
LOG_WARNING("{} unexpected message status: {} (opaque={})",
|
469
|
+
session_->log_prefix_,
|
470
|
+
resp.error_message(),
|
471
|
+
resp.opaque());
|
472
|
+
}
|
473
|
+
} break;
|
474
|
+
case protocol::client_opcode::noop:
|
475
|
+
case protocol::client_opcode::get_collections_manifest:
|
476
|
+
case protocol::client_opcode::get_collection_id:
|
477
|
+
case protocol::client_opcode::get:
|
478
|
+
case protocol::client_opcode::get_and_lock:
|
479
|
+
case protocol::client_opcode::get_and_touch:
|
480
|
+
case protocol::client_opcode::get_meta:
|
481
|
+
case protocol::client_opcode::get_replica:
|
482
|
+
case protocol::client_opcode::touch:
|
483
|
+
case protocol::client_opcode::insert:
|
484
|
+
case protocol::client_opcode::replace:
|
485
|
+
case protocol::client_opcode::upsert:
|
486
|
+
case protocol::client_opcode::append:
|
487
|
+
case protocol::client_opcode::prepend:
|
488
|
+
case protocol::client_opcode::remove:
|
489
|
+
case protocol::client_opcode::observe_seqno:
|
490
|
+
case protocol::client_opcode::unlock:
|
491
|
+
case protocol::client_opcode::increment:
|
492
|
+
case protocol::client_opcode::decrement:
|
493
|
+
case protocol::client_opcode::subdoc_multi_lookup:
|
494
|
+
case protocol::client_opcode::subdoc_multi_mutation: {
|
495
|
+
std::uint32_t opaque = msg.header.opaque;
|
496
|
+
std::uint16_t status = utils::byte_swap(msg.header.specific);
|
497
|
+
session_->command_handlers_mutex_.lock();
|
498
|
+
auto handler = session_->command_handlers_.find(opaque);
|
499
|
+
if (handler != session_->command_handlers_.end() && handler->second) {
|
500
|
+
auto ec = protocol::map_status_code(opcode, status);
|
501
|
+
LOG_TRACE("{} MCBP invoke operation handler: opcode={}, opaque={}, status={}, ec={}",
|
502
|
+
session_->log_prefix_,
|
503
|
+
opcode,
|
504
|
+
opaque,
|
505
|
+
protocol::status_to_string(status),
|
506
|
+
ec.message());
|
507
|
+
auto fun = std::move(handler->second);
|
508
|
+
session_->command_handlers_.erase(handler);
|
509
|
+
session_->command_handlers_mutex_.unlock();
|
510
|
+
fun(ec, retry_reason::do_not_retry, std::move(msg));
|
511
|
+
} else {
|
512
|
+
session_->command_handlers_mutex_.unlock();
|
513
|
+
LOG_DEBUG("{} unexpected orphan response: opcode={}, opaque={}, status={}",
|
514
|
+
session_->log_prefix_,
|
515
|
+
opcode,
|
516
|
+
msg.header.opaque,
|
517
|
+
protocol::status_to_string(status));
|
518
|
+
}
|
519
|
+
} break;
|
520
|
+
default:
|
521
|
+
LOG_WARNING("{} unexpected client response: opcode={}, opaque={}{:a}{:a})",
|
522
|
+
session_->log_prefix_,
|
523
|
+
opcode,
|
524
|
+
msg.header.opaque,
|
525
|
+
spdlog::to_hex(msg.header_data()),
|
526
|
+
spdlog::to_hex(msg.body));
|
527
|
+
}
|
528
|
+
break;
|
529
|
+
case protocol::magic::server_request:
|
530
|
+
Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
|
531
|
+
switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
|
532
|
+
case protocol::server_opcode::cluster_map_change_notification: {
|
533
|
+
protocol::server_request<protocol::cluster_map_change_notification_request_body> req(std::move(msg));
|
534
|
+
std::optional<topology::configuration> config = req.body().config();
|
535
|
+
if (session_ && config.has_value()) {
|
536
|
+
if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
|
537
|
+
(session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
|
538
|
+
session_->bucket_name_.value() == req.body().bucket())) {
|
539
|
+
session_->update_configuration(std::move(config.value()));
|
540
|
+
}
|
541
|
+
}
|
542
|
+
} break;
|
543
|
+
default:
|
544
|
+
LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
|
545
|
+
session_->log_prefix_,
|
546
|
+
msg.header.opcode,
|
547
|
+
msg.header.opaque,
|
548
|
+
spdlog::to_hex(msg.header_data()),
|
549
|
+
spdlog::to_hex(msg.body));
|
550
|
+
}
|
551
|
+
break;
|
552
|
+
case protocol::magic::client_request:
|
553
|
+
case protocol::magic::alt_client_request:
|
554
|
+
case protocol::magic::server_response:
|
555
|
+
LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
|
556
|
+
session_->log_prefix_,
|
557
|
+
magic,
|
558
|
+
msg.header.opcode,
|
559
|
+
msg.header.opaque,
|
560
|
+
spdlog::to_hex(msg.header_data()),
|
561
|
+
spdlog::to_hex(msg.body));
|
562
|
+
break;
|
563
|
+
}
|
564
|
+
}
|
565
|
+
|
566
|
+
void fetch_config(std::error_code ec)
|
567
|
+
{
|
568
|
+
if (ec == asio::error::operation_aborted || stopped_ || !session_) {
|
569
|
+
return;
|
570
|
+
}
|
571
|
+
protocol::client_request<protocol::get_cluster_config_request_body> req;
|
572
|
+
req.opaque(session_->next_opaque());
|
573
|
+
session_->write_and_flush(req.data());
|
574
|
+
heartbeat_timer_.expires_after(std::chrono::milliseconds(2500));
|
575
|
+
heartbeat_timer_.async_wait([self = shared_from_this()](std::error_code e) {
|
576
|
+
if (e == asio::error::operation_aborted) {
|
577
|
+
return;
|
578
|
+
}
|
579
|
+
self->fetch_config(e);
|
580
|
+
});
|
581
|
+
}
|
582
|
+
};
|
583
|
+
|
584
|
+
public:
|
585
|
+
mcbp_session() = delete;
|
586
|
+
mcbp_session(const std::string& client_id,
|
587
|
+
asio::io_context& ctx,
|
588
|
+
const couchbase::core::origin& origin,
|
589
|
+
std::optional<std::string> bucket_name = {},
|
590
|
+
std::vector<protocol::hello_feature> known_features = {})
|
591
|
+
: client_id_(client_id)
|
592
|
+
, id_(uuid::to_string(uuid::random()))
|
593
|
+
, ctx_(ctx)
|
594
|
+
, resolver_(ctx_)
|
595
|
+
, stream_(std::make_unique<plain_stream_impl>(ctx_))
|
596
|
+
, bootstrap_deadline_(ctx_)
|
597
|
+
, connection_deadline_(ctx_)
|
598
|
+
, retry_backoff_(ctx_)
|
599
|
+
, origin_(origin)
|
600
|
+
, bucket_name_(std::move(bucket_name))
|
601
|
+
, supported_features_(std::move(known_features))
|
602
|
+
{
|
603
|
+
log_prefix_ = fmt::format("[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
|
604
|
+
}
|
605
|
+
|
606
|
+
mcbp_session(const std::string& client_id,
|
607
|
+
asio::io_context& ctx,
|
608
|
+
asio::ssl::context& tls,
|
609
|
+
const couchbase::core::origin& origin,
|
610
|
+
std::optional<std::string> bucket_name = {},
|
611
|
+
std::vector<protocol::hello_feature> known_features = {})
|
612
|
+
: client_id_(client_id)
|
613
|
+
, id_(uuid::to_string(uuid::random()))
|
614
|
+
, ctx_(ctx)
|
615
|
+
, resolver_(ctx_)
|
616
|
+
, stream_(std::make_unique<tls_stream_impl>(ctx_, tls))
|
617
|
+
, bootstrap_deadline_(ctx_)
|
618
|
+
, connection_deadline_(ctx_)
|
619
|
+
, retry_backoff_(ctx_)
|
620
|
+
, origin_(origin)
|
621
|
+
, bucket_name_(std::move(bucket_name))
|
622
|
+
, supported_features_(std::move(known_features))
|
623
|
+
{
|
624
|
+
log_prefix_ = fmt::format("[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
|
625
|
+
}
|
626
|
+
|
627
|
+
~mcbp_session()
|
628
|
+
{
|
629
|
+
LOG_DEBUG("{} destroy MCBP connection", log_prefix_);
|
630
|
+
stop(retry_reason::do_not_retry);
|
631
|
+
}
|
632
|
+
|
633
|
+
[[nodiscard]] const std::string& log_prefix() const
|
634
|
+
{
|
635
|
+
return log_prefix_;
|
636
|
+
}
|
637
|
+
|
638
|
+
std::string remote_address() const
|
639
|
+
{
|
640
|
+
if (endpoint_.protocol() == asio::ip::tcp::v6()) {
|
641
|
+
return fmt::format("[{}]:{}", endpoint_address_, endpoint_.port());
|
642
|
+
}
|
643
|
+
return fmt::format("{}:{}", endpoint_address_, endpoint_.port());
|
644
|
+
}
|
645
|
+
|
646
|
+
std::string local_address() const
|
647
|
+
{
|
648
|
+
if (endpoint_.protocol() == asio::ip::tcp::v6()) {
|
649
|
+
return fmt::format("[{}]:{}", local_endpoint_address_, local_endpoint_.port());
|
650
|
+
}
|
651
|
+
return fmt::format("{}:{}", local_endpoint_address_, local_endpoint_.port());
|
652
|
+
}
|
653
|
+
|
654
|
+
[[nodiscard]] diag::endpoint_diag_info diag_info() const
|
655
|
+
{
|
656
|
+
return { service_type::key_value,
|
657
|
+
id_,
|
658
|
+
last_active_.time_since_epoch().count() == 0 ? std::nullopt
|
659
|
+
: std::make_optional(std::chrono::duration_cast<std::chrono::microseconds>(
|
660
|
+
std::chrono::steady_clock::now() - last_active_)),
|
661
|
+
remote_address(),
|
662
|
+
local_address(),
|
663
|
+
state_,
|
664
|
+
bucket_name_ };
|
665
|
+
}
|
666
|
+
|
667
|
+
template<typename Handler>
|
668
|
+
void ping(Handler&& handler)
|
669
|
+
{
|
670
|
+
protocol::client_request<protocol::mcbp_noop_request_body> req;
|
671
|
+
req.opaque(next_opaque());
|
672
|
+
write_and_subscribe(req.opaque(),
|
673
|
+
std::move(req.data(false)),
|
674
|
+
[start = std::chrono::steady_clock::now(), self = shared_from_this(), handler](
|
675
|
+
std::error_code ec, retry_reason reason, io::mcbp_message&& /* msg */) {
|
676
|
+
diag::ping_state state = diag::ping_state::ok;
|
677
|
+
std::optional<std::string> error{};
|
678
|
+
if (ec) {
|
679
|
+
state = diag::ping_state::error;
|
680
|
+
error.emplace(fmt::format("code={}, message={}, reason={}", ec.value(), ec.message(), reason));
|
681
|
+
}
|
682
|
+
handler(diag::endpoint_ping_info{
|
683
|
+
service_type::key_value,
|
684
|
+
self->id_,
|
685
|
+
std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - start),
|
686
|
+
self->remote_address(),
|
687
|
+
self->local_address(),
|
688
|
+
state,
|
689
|
+
self->bucket_name_,
|
690
|
+
error });
|
691
|
+
});
|
692
|
+
}
|
693
|
+
|
694
|
+
[[nodiscard]] mcbp_context context() const
|
695
|
+
{
|
696
|
+
return { config_, supported_features_ };
|
697
|
+
}
|
698
|
+
|
699
|
+
void bootstrap(utils::movable_function<void(std::error_code, topology::configuration)>&& handler,
|
700
|
+
bool retry_on_bucket_not_found = false)
|
701
|
+
{
|
702
|
+
retry_bootstrap_on_bucket_not_found_ = retry_on_bucket_not_found;
|
703
|
+
bootstrap_handler_ = std::move(handler);
|
704
|
+
bootstrap_deadline_.expires_after(origin_.options().bootstrap_timeout);
|
705
|
+
bootstrap_deadline_.async_wait([self = shared_from_this()](std::error_code ec) {
|
706
|
+
if (ec == asio::error::operation_aborted || self->stopped_) {
|
707
|
+
return;
|
708
|
+
}
|
709
|
+
LOG_WARNING("{} unable to bootstrap in time", self->log_prefix_);
|
710
|
+
auto h = std::move(self->bootstrap_handler_);
|
711
|
+
h(errc::common::unambiguous_timeout, {});
|
712
|
+
self->stop(retry_reason::do_not_retry);
|
713
|
+
});
|
714
|
+
initiate_bootstrap();
|
715
|
+
}
|
716
|
+
|
717
|
+
void initiate_bootstrap()
|
718
|
+
{
|
719
|
+
if (stopped_) {
|
720
|
+
return;
|
721
|
+
}
|
722
|
+
state_ = diag::endpoint_state::connecting;
|
723
|
+
if (stream_->is_open()) {
|
724
|
+
std::string old_id = stream_->id();
|
725
|
+
stream_->reopen();
|
726
|
+
LOG_TRACE(R"({} reopen socket connection "{}" -> "{}", host="{}", port={})",
|
727
|
+
log_prefix_,
|
728
|
+
old_id,
|
729
|
+
stream_->id(),
|
730
|
+
bootstrap_hostname_,
|
731
|
+
bootstrap_port_);
|
732
|
+
}
|
733
|
+
if (origin_.exhausted()) {
|
734
|
+
auto backoff = std::chrono::milliseconds(500);
|
735
|
+
LOG_DEBUG("{} reached the end of list of bootstrap nodes, waiting for {}ms before restart", log_prefix_, backoff.count());
|
736
|
+
retry_backoff_.expires_after(backoff);
|
737
|
+
retry_backoff_.async_wait([self = shared_from_this()](std::error_code ec) mutable {
|
738
|
+
if (ec == asio::error::operation_aborted || self->stopped_) {
|
739
|
+
return;
|
740
|
+
}
|
741
|
+
self->origin_.restart();
|
742
|
+
self->initiate_bootstrap();
|
743
|
+
});
|
744
|
+
return;
|
745
|
+
}
|
746
|
+
std::tie(bootstrap_hostname_, bootstrap_port_) = origin_.next_address();
|
747
|
+
log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}:{}>",
|
748
|
+
client_id_,
|
749
|
+
id_,
|
750
|
+
stream_->log_prefix(),
|
751
|
+
bucket_name_.value_or("-"),
|
752
|
+
bootstrap_hostname_,
|
753
|
+
bootstrap_port_);
|
754
|
+
LOG_DEBUG("{} attempt to establish MCBP connection", log_prefix_);
|
755
|
+
|
756
|
+
async_resolve(origin_.options().use_ip_protocol,
|
757
|
+
resolver_,
|
758
|
+
bootstrap_hostname_,
|
759
|
+
bootstrap_port_,
|
760
|
+
std::bind(&mcbp_session::on_resolve, shared_from_this(), std::placeholders::_1, std::placeholders::_2));
|
761
|
+
}
|
762
|
+
|
763
|
+
[[nodiscard]] const std::string& id() const
|
764
|
+
{
|
765
|
+
return id_;
|
766
|
+
}
|
767
|
+
|
768
|
+
[[nodiscard]] bool is_stopped() const
|
769
|
+
{
|
770
|
+
return stopped_;
|
771
|
+
}
|
772
|
+
|
773
|
+
void on_stop(std::function<void(retry_reason)> handler)
|
774
|
+
{
|
775
|
+
on_stop_handler_ = std::move(handler);
|
776
|
+
}
|
777
|
+
|
778
|
+
void stop(retry_reason reason)
|
779
|
+
{
|
780
|
+
if (stopped_) {
|
781
|
+
return;
|
782
|
+
}
|
783
|
+
state_ = diag::endpoint_state::disconnecting;
|
784
|
+
LOG_DEBUG("{} stop MCBP connection, reason={}", log_prefix_, reason);
|
785
|
+
stopped_ = true;
|
786
|
+
bootstrap_deadline_.cancel();
|
787
|
+
connection_deadline_.cancel();
|
788
|
+
retry_backoff_.cancel();
|
789
|
+
resolver_.cancel();
|
790
|
+
stream_->close([](std::error_code) {});
|
791
|
+
std::error_code ec = errc::common::request_canceled;
|
792
|
+
if (!bootstrapped_ && bootstrap_handler_) {
|
793
|
+
auto h = std::move(bootstrap_handler_);
|
794
|
+
h(ec, {});
|
795
|
+
}
|
796
|
+
if (handler_) {
|
797
|
+
handler_->stop();
|
798
|
+
handler_ = nullptr;
|
799
|
+
}
|
800
|
+
{
|
801
|
+
std::scoped_lock lock(command_handlers_mutex_);
|
802
|
+
for (auto& [opaque, handler] : command_handlers_) {
|
803
|
+
if (handler) {
|
804
|
+
LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}", log_prefix_, opaque, ec.message());
|
805
|
+
auto fun = std::move(handler);
|
806
|
+
fun(ec, reason, {});
|
807
|
+
}
|
808
|
+
}
|
809
|
+
command_handlers_.clear();
|
810
|
+
}
|
811
|
+
config_listeners_.clear();
|
812
|
+
if (on_stop_handler_) {
|
813
|
+
on_stop_handler_(reason);
|
814
|
+
}
|
815
|
+
on_stop_handler_ = nullptr;
|
816
|
+
state_ = diag::endpoint_state::disconnected;
|
817
|
+
}
|
818
|
+
|
819
|
+
void write(std::vector<std::byte>&& buf)
|
820
|
+
{
|
821
|
+
if (stopped_) {
|
822
|
+
return;
|
823
|
+
}
|
824
|
+
std::uint32_t opaque{ 0 };
|
825
|
+
std::memcpy(&opaque, buf.data() + 12, sizeof(opaque));
|
826
|
+
LOG_TRACE("{} MCBP send, opaque={}, {:n}", log_prefix_, opaque, spdlog::to_hex(buf.begin(), buf.begin() + 24));
|
827
|
+
std::scoped_lock lock(output_buffer_mutex_);
|
828
|
+
output_buffer_.emplace_back(std::move(buf));
|
829
|
+
}
|
830
|
+
|
831
|
+
void flush()
|
832
|
+
{
|
833
|
+
if (stopped_) {
|
834
|
+
return;
|
835
|
+
}
|
836
|
+
do_write();
|
837
|
+
}
|
838
|
+
|
839
|
+
void write_and_flush(std::vector<std::byte>&& buf)
|
840
|
+
{
|
841
|
+
if (stopped_) {
|
842
|
+
return;
|
843
|
+
}
|
844
|
+
write(std::move(buf));
|
845
|
+
flush();
|
846
|
+
}
|
847
|
+
|
848
|
+
void write_and_subscribe(std::uint32_t opaque,
|
849
|
+
std::vector<std::byte>&& data,
|
850
|
+
std::function<void(std::error_code, retry_reason, io::mcbp_message&&)> handler)
|
851
|
+
{
|
852
|
+
if (stopped_) {
|
853
|
+
LOG_WARNING("{} MCBP cancel operation, while trying to write to closed session, opaque={}", log_prefix_, opaque);
|
854
|
+
handler(errc::common::request_canceled, retry_reason::socket_closed_while_in_flight, {});
|
855
|
+
return;
|
856
|
+
}
|
857
|
+
{
|
858
|
+
std::scoped_lock lock(command_handlers_mutex_);
|
859
|
+
command_handlers_.try_emplace(opaque, std::move(handler));
|
860
|
+
}
|
861
|
+
if (bootstrapped_ && stream_->is_open()) {
|
862
|
+
write_and_flush(std::move(data));
|
863
|
+
} else {
|
864
|
+
LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}", log_prefix_, opaque);
|
865
|
+
std::scoped_lock lock(pending_buffer_mutex_);
|
866
|
+
if (bootstrapped_ && stream_->is_open()) {
|
867
|
+
write_and_flush(std::move(data));
|
868
|
+
} else {
|
869
|
+
pending_buffer_.emplace_back(data);
|
870
|
+
}
|
871
|
+
}
|
872
|
+
}
|
873
|
+
|
874
|
+
[[nodiscard]] bool cancel(std::uint32_t opaque, std::error_code ec, retry_reason reason)
|
875
|
+
{
|
876
|
+
if (stopped_) {
|
877
|
+
return false;
|
878
|
+
}
|
879
|
+
command_handlers_mutex_.lock();
|
880
|
+
if (auto handler = command_handlers_.find(opaque); handler != command_handlers_.end()) {
|
881
|
+
LOG_DEBUG("{} MCBP cancel operation, opaque={}, ec={} ({})", log_prefix_, opaque, ec.value(), ec.message());
|
882
|
+
if (handler->second) {
|
883
|
+
auto fun = std::move(handler->second);
|
884
|
+
command_handlers_.erase(handler);
|
885
|
+
command_handlers_mutex_.unlock();
|
886
|
+
fun(ec, reason, {});
|
887
|
+
return true;
|
888
|
+
}
|
889
|
+
}
|
890
|
+
command_handlers_mutex_.unlock();
|
891
|
+
return false;
|
892
|
+
}
|
893
|
+
|
894
|
+
[[nodiscard]] bool supports_feature(protocol::hello_feature feature)
|
895
|
+
{
|
896
|
+
return std::find(supported_features_.begin(), supported_features_.end(), feature) != supported_features_.end();
|
897
|
+
}
|
898
|
+
|
899
|
+
[[nodiscard]] std::vector<protocol::hello_feature> supported_features() const
|
900
|
+
{
|
901
|
+
return supported_features_;
|
902
|
+
}
|
903
|
+
|
904
|
+
[[nodiscard]] bool supports_gcccp() const
|
905
|
+
{
|
906
|
+
return supports_gcccp_;
|
907
|
+
}
|
908
|
+
|
909
|
+
[[nodiscard]] bool has_config() const
|
910
|
+
{
|
911
|
+
return configured_;
|
912
|
+
}
|
913
|
+
|
914
|
+
[[nodiscard]] topology::configuration config()
|
915
|
+
{
|
916
|
+
std::scoped_lock lock(config_mutex_);
|
917
|
+
return config_.value();
|
918
|
+
}
|
919
|
+
|
920
|
+
[[nodiscard]] size_t index()
|
921
|
+
{
|
922
|
+
std::scoped_lock lock(config_mutex_);
|
923
|
+
Expects(config_.has_value());
|
924
|
+
return config_->index_for_this_node();
|
925
|
+
}
|
926
|
+
|
927
|
+
[[nodiscard]] const std::string& bootstrap_hostname() const
|
928
|
+
{
|
929
|
+
return bootstrap_hostname_;
|
930
|
+
}
|
931
|
+
|
932
|
+
[[nodiscard]] const std::string& bootstrap_port() const
|
933
|
+
{
|
934
|
+
return bootstrap_port_;
|
935
|
+
}
|
936
|
+
|
937
|
+
[[nodiscard]] std::uint32_t next_opaque()
|
938
|
+
{
|
939
|
+
return ++opaque_;
|
940
|
+
}
|
941
|
+
|
942
|
+
std::optional<key_value_error_map_info> decode_error_code(std::uint16_t code)
|
943
|
+
{
|
944
|
+
if (error_map_) {
|
945
|
+
auto info = error_map_->errors.find(code);
|
946
|
+
if (info != error_map_->errors.end()) {
|
947
|
+
return info->second;
|
948
|
+
}
|
949
|
+
}
|
950
|
+
return {};
|
951
|
+
}
|
952
|
+
|
953
|
+
void on_configuration_update(std::function<void(topology::configuration)> handler)
|
954
|
+
{
|
955
|
+
config_listeners_.emplace_back(std::move(handler));
|
956
|
+
}
|
957
|
+
|
958
|
+
void update_configuration(topology::configuration&& config)
|
959
|
+
{
|
960
|
+
if (stopped_) {
|
961
|
+
return;
|
962
|
+
}
|
963
|
+
std::scoped_lock lock(config_mutex_);
|
964
|
+
if (config_) {
|
965
|
+
if (config_->vbmap && config.vbmap && config_->vbmap->size() != config.vbmap->size()) {
|
966
|
+
LOG_DEBUG("{} received a configuration with a different number of vbuckets, ignoring", log_prefix_);
|
967
|
+
return;
|
968
|
+
}
|
969
|
+
if (config == config_) {
|
970
|
+
LOG_TRACE("{} received a configuration with identical revision (rev={}), ignoring", log_prefix_, config.rev_str());
|
971
|
+
return;
|
972
|
+
}
|
973
|
+
if (config < config_) {
|
974
|
+
LOG_DEBUG("{} received a configuration with older revision, ignoring", log_prefix_);
|
975
|
+
return;
|
976
|
+
}
|
977
|
+
}
|
978
|
+
bool this_node_found = false;
|
979
|
+
for (auto& node : config.nodes) {
|
980
|
+
if (node.hostname.empty()) {
|
981
|
+
node.hostname = bootstrap_hostname_;
|
982
|
+
}
|
983
|
+
if (node.this_node) {
|
984
|
+
this_node_found = true;
|
985
|
+
}
|
986
|
+
}
|
987
|
+
if (!this_node_found) {
|
988
|
+
for (auto& node : config.nodes) {
|
989
|
+
if (node.hostname == bootstrap_hostname_) {
|
990
|
+
if ((node.services_plain.key_value && std::to_string(node.services_plain.key_value.value()) == bootstrap_port_) ||
|
991
|
+
(node.services_tls.key_value && std::to_string(node.services_tls.key_value.value()) == bootstrap_port_)) {
|
992
|
+
node.this_node = true;
|
993
|
+
}
|
994
|
+
}
|
995
|
+
}
|
996
|
+
}
|
997
|
+
config_.emplace(std::move(config));
|
998
|
+
configured_ = true;
|
999
|
+
LOG_DEBUG("{} received new configuration: {}", log_prefix_, config_.value());
|
1000
|
+
for (const auto& listener : config_listeners_) {
|
1001
|
+
listener(*config_);
|
1002
|
+
}
|
1003
|
+
}
|
1004
|
+
|
1005
|
+
void handle_not_my_vbucket(const io::mcbp_message& msg)
|
1006
|
+
{
|
1007
|
+
if (stopped_) {
|
1008
|
+
return;
|
1009
|
+
}
|
1010
|
+
Expects(msg.header.magic == static_cast<std::uint8_t>(protocol::magic::alt_client_response) ||
|
1011
|
+
msg.header.magic == static_cast<std::uint8_t>(protocol::magic::client_response));
|
1012
|
+
if (protocol::has_json_datatype(msg.header.datatype)) {
|
1013
|
+
auto magic = static_cast<protocol::magic>(msg.header.magic);
|
1014
|
+
std::uint8_t extras_size = msg.header.extlen;
|
1015
|
+
std::uint8_t framing_extras_size = 0;
|
1016
|
+
std::uint16_t key_size = utils::byte_swap(msg.header.keylen);
|
1017
|
+
if (magic == protocol::magic::alt_client_response) {
|
1018
|
+
framing_extras_size = static_cast<std::uint8_t>(msg.header.keylen >> 8U);
|
1019
|
+
key_size = msg.header.keylen & 0xffU;
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
std::vector<std::uint8_t>::difference_type offset = framing_extras_size + key_size + extras_size;
|
1023
|
+
if (utils::byte_swap(msg.header.bodylen) - offset > 0) {
|
1024
|
+
std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()) + offset,
|
1025
|
+
msg.body.size() - static_cast<std::size_t>(offset) };
|
1026
|
+
auto config = protocol::parse_config(config_text, endpoint_address_, endpoint_.port());
|
1027
|
+
LOG_DEBUG("{} received not_my_vbucket status for {}, opaque={} with config rev={} in the payload",
|
1028
|
+
log_prefix_,
|
1029
|
+
protocol::client_opcode(msg.header.opcode),
|
1030
|
+
msg.header.opaque,
|
1031
|
+
config.rev_str());
|
1032
|
+
update_configuration(std::move(config));
|
1033
|
+
}
|
1034
|
+
}
|
1035
|
+
}
|
1036
|
+
|
1037
|
+
std::optional<std::uint32_t> get_collection_uid(const std::string& collection_path)
|
1038
|
+
{
|
1039
|
+
return collection_cache_.get(collection_path);
|
1040
|
+
}
|
1041
|
+
|
1042
|
+
void update_collection_uid(const std::string& path, std::uint32_t uid)
|
1043
|
+
{
|
1044
|
+
if (stopped_) {
|
1045
|
+
return;
|
1046
|
+
}
|
1047
|
+
collection_cache_.update(path, uid);
|
1048
|
+
}
|
1049
|
+
|
1050
|
+
private:
|
1051
|
+
void invoke_bootstrap_handler(std::error_code ec)
|
1052
|
+
{
|
1053
|
+
if (ec == errc::network::configuration_not_available) {
|
1054
|
+
return initiate_bootstrap();
|
1055
|
+
}
|
1056
|
+
if (retry_bootstrap_on_bucket_not_found_ && ec == errc::common::bucket_not_found) {
|
1057
|
+
LOG_DEBUG(R"({} server returned {} ({}), it must be transient condition, retrying)", log_prefix_, ec.value(), ec.message());
|
1058
|
+
return initiate_bootstrap();
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
if (!bootstrapped_ && bootstrap_handler_) {
|
1062
|
+
bootstrap_deadline_.cancel();
|
1063
|
+
auto h = std::move(bootstrap_handler_);
|
1064
|
+
h(ec, config_.value_or(topology::configuration{}));
|
1065
|
+
}
|
1066
|
+
if (ec) {
|
1067
|
+
handler_ = nullptr;
|
1068
|
+
return stop(retry_reason::node_not_available);
|
1069
|
+
}
|
1070
|
+
state_ = diag::endpoint_state::connected;
|
1071
|
+
{
|
1072
|
+
auto handler = std::make_shared<normal_handler>(shared_from_this());
|
1073
|
+
handler->start();
|
1074
|
+
handler_ = handler;
|
1075
|
+
}
|
1076
|
+
std::scoped_lock lock(pending_buffer_mutex_);
|
1077
|
+
bootstrapped_ = true;
|
1078
|
+
if (!pending_buffer_.empty()) {
|
1079
|
+
for (auto& buf : pending_buffer_) {
|
1080
|
+
write(std::move(buf));
|
1081
|
+
}
|
1082
|
+
pending_buffer_.clear();
|
1083
|
+
flush();
|
1084
|
+
}
|
1085
|
+
}
|
1086
|
+
|
1087
|
+
void on_resolve(std::error_code ec, const asio::ip::tcp::resolver::results_type& endpoints)
|
1088
|
+
{
|
1089
|
+
if (ec == asio::error::operation_aborted || stopped_) {
|
1090
|
+
return;
|
1091
|
+
}
|
1092
|
+
last_active_ = std::chrono::steady_clock::now();
|
1093
|
+
if (ec) {
|
1094
|
+
LOG_ERROR("{} error on resolve: {} ({})", log_prefix_, ec.value(), ec.message());
|
1095
|
+
return initiate_bootstrap();
|
1096
|
+
}
|
1097
|
+
endpoints_ = endpoints;
|
1098
|
+
do_connect(endpoints_.begin());
|
1099
|
+
connection_deadline_.expires_after(origin_.options().resolve_timeout);
|
1100
|
+
connection_deadline_.async_wait([self = shared_from_this()](const auto timer_ec) {
|
1101
|
+
if (timer_ec == asio::error::operation_aborted || self->stopped_) {
|
1102
|
+
return;
|
1103
|
+
}
|
1104
|
+
return self->stream_->close([self](std::error_code) { self->initiate_bootstrap(); });
|
1105
|
+
});
|
1106
|
+
}
|
1107
|
+
|
1108
|
+
void do_connect(asio::ip::tcp::resolver::results_type::iterator it)
|
1109
|
+
{
|
1110
|
+
if (stopped_) {
|
1111
|
+
return;
|
1112
|
+
}
|
1113
|
+
last_active_ = std::chrono::steady_clock::now();
|
1114
|
+
if (it != endpoints_.end()) {
|
1115
|
+
LOG_DEBUG("{} connecting to {}:{}, timeout={}ms",
|
1116
|
+
log_prefix_,
|
1117
|
+
it->endpoint().address().to_string(),
|
1118
|
+
it->endpoint().port(),
|
1119
|
+
origin_.options().connect_timeout.count());
|
1120
|
+
connection_deadline_.expires_after(origin_.options().connect_timeout);
|
1121
|
+
connection_deadline_.async_wait([self = shared_from_this()](const auto timer_ec) {
|
1122
|
+
if (timer_ec == asio::error::operation_aborted || self->stopped_) {
|
1123
|
+
return;
|
1124
|
+
}
|
1125
|
+
return self->stream_->close([self](std::error_code) { self->initiate_bootstrap(); });
|
1126
|
+
});
|
1127
|
+
stream_->async_connect(it->endpoint(), std::bind(&mcbp_session::on_connect, shared_from_this(), std::placeholders::_1, it));
|
1128
|
+
} else {
|
1129
|
+
LOG_ERROR("{} no more endpoints left to connect, will try another address", log_prefix_);
|
1130
|
+
return initiate_bootstrap();
|
1131
|
+
}
|
1132
|
+
}
|
1133
|
+
|
1134
|
+
void on_connect(const std::error_code& ec, asio::ip::tcp::resolver::results_type::iterator it)
|
1135
|
+
{
|
1136
|
+
if (ec == asio::error::operation_aborted || stopped_) {
|
1137
|
+
return;
|
1138
|
+
}
|
1139
|
+
last_active_ = std::chrono::steady_clock::now();
|
1140
|
+
if (!stream_->is_open() || ec) {
|
1141
|
+
|
1142
|
+
LOG_WARNING("{} unable to connect to {}:{}: {} ({}){}. is_open={}",
|
1143
|
+
log_prefix_,
|
1144
|
+
it->endpoint().address().to_string(),
|
1145
|
+
it->endpoint().port(),
|
1146
|
+
ec.value(),
|
1147
|
+
(ec.category() == asio::error::ssl_category) ? ERR_error_string(static_cast<unsigned long>(ec.value()), nullptr)
|
1148
|
+
: ec.message(),
|
1149
|
+
(ec == asio::error::connection_refused) ? ", check server ports and cluster encryption setting" : "",
|
1150
|
+
stream_->is_open());
|
1151
|
+
if (stream_->is_open()) {
|
1152
|
+
stream_->close(std::bind(&mcbp_session::do_connect, shared_from_this(), ++it));
|
1153
|
+
} else {
|
1154
|
+
do_connect(++it);
|
1155
|
+
}
|
1156
|
+
} else {
|
1157
|
+
stream_->set_options();
|
1158
|
+
local_endpoint_ = stream_->local_endpoint();
|
1159
|
+
local_endpoint_address_ = local_endpoint_.address().to_string();
|
1160
|
+
endpoint_ = it->endpoint();
|
1161
|
+
endpoint_address_ = endpoint_.address().to_string();
|
1162
|
+
LOG_DEBUG("{} connected to {}:{}", log_prefix_, endpoint_address_, it->endpoint().port());
|
1163
|
+
log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}/{}:{}>",
|
1164
|
+
client_id_,
|
1165
|
+
id_,
|
1166
|
+
stream_->log_prefix(),
|
1167
|
+
bucket_name_.value_or("-"),
|
1168
|
+
bootstrap_hostname_,
|
1169
|
+
endpoint_address_,
|
1170
|
+
endpoint_.port());
|
1171
|
+
handler_ = std::make_shared<bootstrap_handler>(shared_from_this());
|
1172
|
+
connection_deadline_.expires_at(asio::steady_timer::time_point::max());
|
1173
|
+
connection_deadline_.cancel();
|
1174
|
+
}
|
1175
|
+
}
|
1176
|
+
|
1177
|
+
void check_deadline(std::error_code ec)
|
1178
|
+
{
|
1179
|
+
if (ec == asio::error::operation_aborted || stopped_) {
|
1180
|
+
return;
|
1181
|
+
}
|
1182
|
+
if (connection_deadline_.expiry() <= asio::steady_timer::clock_type::now()) {
|
1183
|
+
stream_->close([](std::error_code) {});
|
1184
|
+
connection_deadline_.expires_at(asio::steady_timer::time_point::max());
|
1185
|
+
}
|
1186
|
+
connection_deadline_.async_wait(std::bind(&mcbp_session::check_deadline, shared_from_this(), std::placeholders::_1));
|
1187
|
+
}
|
1188
|
+
|
1189
|
+
void do_read()
|
1190
|
+
{
|
1191
|
+
if (stopped_ || reading_ || !stream_->is_open()) {
|
1192
|
+
return;
|
1193
|
+
}
|
1194
|
+
reading_ = true;
|
1195
|
+
stream_->async_read_some(
|
1196
|
+
asio::buffer(input_buffer_),
|
1197
|
+
[self = shared_from_this(), stream_id = stream_->id()](std::error_code ec, std::size_t bytes_transferred) {
|
1198
|
+
if (ec == asio::error::operation_aborted || self->stopped_) {
|
1199
|
+
return;
|
1200
|
+
}
|
1201
|
+
self->last_active_ = std::chrono::steady_clock::now();
|
1202
|
+
if (ec) {
|
1203
|
+
if (stream_id != self->stream_->id()) {
|
1204
|
+
LOG_ERROR(R"({} ignore IO error while reading from the socket: {} ({}), old_id="{}", new_id="{}")",
|
1205
|
+
self->log_prefix_,
|
1206
|
+
ec.value(),
|
1207
|
+
ec.message(),
|
1208
|
+
stream_id,
|
1209
|
+
self->stream_->id());
|
1210
|
+
return;
|
1211
|
+
}
|
1212
|
+
LOG_ERROR(R"({} IO error while reading from the socket("{}"): {} ({}))",
|
1213
|
+
self->log_prefix_,
|
1214
|
+
self->stream_->id(),
|
1215
|
+
ec.value(),
|
1216
|
+
ec.message());
|
1217
|
+
return self->stop(retry_reason::socket_closed_while_in_flight);
|
1218
|
+
}
|
1219
|
+
self->parser_.feed(self->input_buffer_.data(), self->input_buffer_.data() + static_cast<std::ptrdiff_t>(bytes_transferred));
|
1220
|
+
|
1221
|
+
for (;;) {
|
1222
|
+
mcbp_message msg{};
|
1223
|
+
switch (self->parser_.next(msg)) {
|
1224
|
+
case mcbp_parser::result::ok:
|
1225
|
+
LOG_TRACE(
|
1226
|
+
"{} MCBP recv, opaque={}, {:n}", self->log_prefix_, msg.header.opaque, spdlog::to_hex(msg.header_data()));
|
1227
|
+
self->handler_->handle(std::move(msg));
|
1228
|
+
if (self->stopped_) {
|
1229
|
+
return;
|
1230
|
+
}
|
1231
|
+
break;
|
1232
|
+
case mcbp_parser::result::need_data:
|
1233
|
+
self->reading_ = false;
|
1234
|
+
if (!self->stopped_ && self->stream_->is_open()) {
|
1235
|
+
self->do_read();
|
1236
|
+
}
|
1237
|
+
return;
|
1238
|
+
case mcbp_parser::result::failure:
|
1239
|
+
return self->stop(retry_reason::kv_temporary_failure);
|
1240
|
+
}
|
1241
|
+
}
|
1242
|
+
});
|
1243
|
+
}
|
1244
|
+
|
1245
|
+
void do_write()
|
1246
|
+
{
|
1247
|
+
if (stopped_ || !stream_->is_open()) {
|
1248
|
+
return;
|
1249
|
+
}
|
1250
|
+
std::scoped_lock lock(writing_buffer_mutex_, output_buffer_mutex_);
|
1251
|
+
if (!writing_buffer_.empty() || output_buffer_.empty()) {
|
1252
|
+
return;
|
1253
|
+
}
|
1254
|
+
std::swap(writing_buffer_, output_buffer_);
|
1255
|
+
std::vector<asio::const_buffer> buffers;
|
1256
|
+
buffers.reserve(writing_buffer_.size());
|
1257
|
+
for (auto& buf : writing_buffer_) {
|
1258
|
+
buffers.emplace_back(asio::buffer(buf));
|
1259
|
+
}
|
1260
|
+
stream_->async_write(buffers, [self = shared_from_this()](std::error_code ec, std::size_t /*unused*/) {
|
1261
|
+
if (ec == asio::error::operation_aborted || self->stopped_) {
|
1262
|
+
return;
|
1263
|
+
}
|
1264
|
+
self->last_active_ = std::chrono::steady_clock::now();
|
1265
|
+
if (ec) {
|
1266
|
+
LOG_ERROR(R"({} IO error while writing to the socket("{}"): {} ({}))",
|
1267
|
+
self->log_prefix_,
|
1268
|
+
self->stream_->id(),
|
1269
|
+
ec.value(),
|
1270
|
+
ec.message());
|
1271
|
+
return self->stop(retry_reason::socket_closed_while_in_flight);
|
1272
|
+
}
|
1273
|
+
{
|
1274
|
+
std::scoped_lock inner_lock(self->writing_buffer_mutex_);
|
1275
|
+
self->writing_buffer_.clear();
|
1276
|
+
}
|
1277
|
+
self->do_write();
|
1278
|
+
self->do_read();
|
1279
|
+
});
|
1280
|
+
}
|
1281
|
+
|
1282
|
+
std::string client_id_;
|
1283
|
+
const std::string id_;
|
1284
|
+
asio::io_context& ctx_;
|
1285
|
+
asio::ip::tcp::resolver resolver_;
|
1286
|
+
std::unique_ptr<stream_impl> stream_;
|
1287
|
+
asio::steady_timer bootstrap_deadline_;
|
1288
|
+
asio::steady_timer connection_deadline_;
|
1289
|
+
asio::steady_timer retry_backoff_;
|
1290
|
+
couchbase::core::origin origin_;
|
1291
|
+
std::optional<std::string> bucket_name_;
|
1292
|
+
mcbp_parser parser_;
|
1293
|
+
std::shared_ptr<message_handler> handler_;
|
1294
|
+
utils::movable_function<void(std::error_code, const topology::configuration&)> bootstrap_handler_{};
|
1295
|
+
std::mutex command_handlers_mutex_{};
|
1296
|
+
std::map<std::uint32_t, utils::movable_function<void(std::error_code, retry_reason, io::mcbp_message&&)>> command_handlers_{};
|
1297
|
+
std::vector<std::function<void(const topology::configuration&)>> config_listeners_{};
|
1298
|
+
std::function<void(retry_reason)> on_stop_handler_{};
|
1299
|
+
|
1300
|
+
std::atomic_bool bootstrapped_{ false };
|
1301
|
+
std::atomic_bool stopped_{ false };
|
1302
|
+
bool authenticated_{ false };
|
1303
|
+
bool bucket_selected_{ false };
|
1304
|
+
bool supports_gcccp_{ true };
|
1305
|
+
bool retry_bootstrap_on_bucket_not_found_{ false };
|
1306
|
+
|
1307
|
+
std::atomic<std::uint32_t> opaque_{ 0 };
|
1308
|
+
|
1309
|
+
std::array<std::byte, 16384> input_buffer_{};
|
1310
|
+
std::vector<std::vector<std::byte>> output_buffer_{};
|
1311
|
+
std::vector<std::vector<std::byte>> pending_buffer_{};
|
1312
|
+
std::vector<std::vector<std::byte>> writing_buffer_{};
|
1313
|
+
std::mutex output_buffer_mutex_{};
|
1314
|
+
std::mutex pending_buffer_mutex_{};
|
1315
|
+
std::mutex writing_buffer_mutex_{};
|
1316
|
+
std::string bootstrap_hostname_{};
|
1317
|
+
std::string bootstrap_port_{};
|
1318
|
+
asio::ip::tcp::endpoint endpoint_{}; // connected endpoint
|
1319
|
+
std::string endpoint_address_{}; // cached string with endpoint address
|
1320
|
+
asio::ip::tcp::endpoint local_endpoint_{};
|
1321
|
+
std::string local_endpoint_address_{};
|
1322
|
+
asio::ip::tcp::resolver::results_type endpoints_;
|
1323
|
+
std::vector<protocol::hello_feature> supported_features_;
|
1324
|
+
std::optional<topology::configuration> config_;
|
1325
|
+
std::mutex config_mutex_{};
|
1326
|
+
std::atomic_bool configured_{ false };
|
1327
|
+
std::optional<error_map> error_map_;
|
1328
|
+
collection_cache collection_cache_;
|
1329
|
+
|
1330
|
+
std::atomic_bool reading_{ false };
|
1331
|
+
|
1332
|
+
std::string log_prefix_{};
|
1333
|
+
std::chrono::time_point<std::chrono::steady_clock> last_active_{};
|
1334
|
+
diag::endpoint_state state_{ diag::endpoint_state::disconnected };
|
1335
|
+
};
|
1336
|
+
} // namespace couchbase::core::io
|