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
@@ -1,1333 +0,0 @@
|
|
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 <couchbase/diagnostics.hxx>
|
21
|
-
#include <couchbase/errors.hxx>
|
22
|
-
#include <couchbase/io/mcbp_context.hxx>
|
23
|
-
#include <couchbase/io/mcbp_message.hxx>
|
24
|
-
#include <couchbase/io/mcbp_parser.hxx>
|
25
|
-
#include <couchbase/io/retry_orchestrator.hxx>
|
26
|
-
#include <couchbase/io/retry_reason_fmt.hxx>
|
27
|
-
#include <couchbase/io/streams.hxx>
|
28
|
-
#include <couchbase/logger/logger.hxx>
|
29
|
-
#include <couchbase/meta/version.hxx>
|
30
|
-
#include <couchbase/origin.hxx>
|
31
|
-
#include <couchbase/platform/uuid.h>
|
32
|
-
#include <couchbase/protocol/client_request.hxx>
|
33
|
-
#include <couchbase/protocol/client_response.hxx>
|
34
|
-
#include <couchbase/protocol/cmd_cluster_map_change_notification.hxx>
|
35
|
-
#include <couchbase/protocol/cmd_get.hxx>
|
36
|
-
#include <couchbase/protocol/cmd_get_cluster_config.hxx>
|
37
|
-
#include <couchbase/protocol/cmd_get_error_map.hxx>
|
38
|
-
#include <couchbase/protocol/cmd_hello.hxx>
|
39
|
-
#include <couchbase/protocol/cmd_noop.hxx>
|
40
|
-
#include <couchbase/protocol/cmd_sasl_auth.hxx>
|
41
|
-
#include <couchbase/protocol/cmd_sasl_list_mechs.hxx>
|
42
|
-
#include <couchbase/protocol/cmd_sasl_step.hxx>
|
43
|
-
#include <couchbase/protocol/cmd_select_bucket.hxx>
|
44
|
-
#include <couchbase/protocol/hello_feature.hxx>
|
45
|
-
#include <couchbase/protocol/hello_feature_fmt.hxx>
|
46
|
-
#include <couchbase/protocol/server_request.hxx>
|
47
|
-
#include <couchbase/sasl/client.h>
|
48
|
-
#include <couchbase/sasl/error.h>
|
49
|
-
#include <couchbase/sasl/error_fmt.h>
|
50
|
-
#include <couchbase/topology/capabilities_fmt.hxx>
|
51
|
-
#include <couchbase/topology/configuration_fmt.hxx>
|
52
|
-
#include <couchbase/utils/join_strings.hxx>
|
53
|
-
#include <couchbase/utils/movable_function.hxx>
|
54
|
-
|
55
|
-
#include <asio.hpp>
|
56
|
-
#include <cstring>
|
57
|
-
#include <spdlog/fmt/bin_to_hex.h>
|
58
|
-
#include <utility>
|
59
|
-
|
60
|
-
namespace couchbase::io
|
61
|
-
{
|
62
|
-
|
63
|
-
class mcbp_session : public std::enable_shared_from_this<mcbp_session>
|
64
|
-
{
|
65
|
-
class collection_cache
|
66
|
-
{
|
67
|
-
private:
|
68
|
-
std::map<std::string, std::uint32_t> cid_map_{ { "_default._default", 0 } };
|
69
|
-
|
70
|
-
public:
|
71
|
-
[[nodiscard]] std::optional<std::uint32_t> get(const std::string& path)
|
72
|
-
{
|
73
|
-
Expects(!path.empty());
|
74
|
-
if (auto ptr = cid_map_.find(path); ptr != cid_map_.end()) {
|
75
|
-
return ptr->second;
|
76
|
-
}
|
77
|
-
return {};
|
78
|
-
}
|
79
|
-
|
80
|
-
void update(const std::string& path, std::uint32_t id)
|
81
|
-
{
|
82
|
-
Expects(!path.empty());
|
83
|
-
cid_map_[path] = id;
|
84
|
-
}
|
85
|
-
|
86
|
-
void reset()
|
87
|
-
{
|
88
|
-
cid_map_.clear();
|
89
|
-
cid_map_["_default._default"] = 0;
|
90
|
-
}
|
91
|
-
};
|
92
|
-
|
93
|
-
class message_handler
|
94
|
-
{
|
95
|
-
public:
|
96
|
-
virtual void handle(mcbp_message&& msg) = 0;
|
97
|
-
|
98
|
-
virtual ~message_handler() = default;
|
99
|
-
|
100
|
-
virtual void stop()
|
101
|
-
{
|
102
|
-
}
|
103
|
-
};
|
104
|
-
|
105
|
-
class bootstrap_handler : public message_handler
|
106
|
-
{
|
107
|
-
private:
|
108
|
-
std::shared_ptr<mcbp_session> session_;
|
109
|
-
sasl::ClientContext sasl_;
|
110
|
-
std::atomic_bool stopped_{ false };
|
111
|
-
|
112
|
-
public:
|
113
|
-
~bootstrap_handler() override = default;
|
114
|
-
|
115
|
-
void stop() override
|
116
|
-
{
|
117
|
-
if (stopped_) {
|
118
|
-
return;
|
119
|
-
}
|
120
|
-
stopped_ = true;
|
121
|
-
session_.reset();
|
122
|
-
}
|
123
|
-
|
124
|
-
explicit bootstrap_handler(std::shared_ptr<mcbp_session> session)
|
125
|
-
: session_(session)
|
126
|
-
, sasl_([origin = session_->origin_]() { return origin.username(); },
|
127
|
-
[origin = session_->origin_]() { return origin.password(); },
|
128
|
-
session_->origin_.credentials().allowed_sasl_mechanisms)
|
129
|
-
{
|
130
|
-
protocol::client_request<protocol::hello_request_body> hello_req;
|
131
|
-
if (session_->origin_.options().enable_unordered_execution) {
|
132
|
-
hello_req.body().enable_unordered_execution();
|
133
|
-
}
|
134
|
-
if (session_->origin_.options().enable_clustermap_notification) {
|
135
|
-
hello_req.body().enable_clustermap_change_notification();
|
136
|
-
}
|
137
|
-
if (session_->origin_.options().enable_compression) {
|
138
|
-
hello_req.body().enable_compression();
|
139
|
-
}
|
140
|
-
hello_req.opaque(session_->next_opaque());
|
141
|
-
auto user_agent =
|
142
|
-
meta::user_agent_for_mcbp(session_->client_id_, session_->id_, session_->origin_.options().user_agent_extra, 250);
|
143
|
-
hello_req.body().user_agent(user_agent);
|
144
|
-
LOG_DEBUG("{} user_agent={}, requested_features=[{}]",
|
145
|
-
session_->log_prefix_,
|
146
|
-
user_agent,
|
147
|
-
utils::join_strings_fmt("{}", hello_req.body().features(), ", "));
|
148
|
-
session_->write(hello_req.data());
|
149
|
-
|
150
|
-
if (!session->origin_.credentials().uses_certificate()) {
|
151
|
-
protocol::client_request<protocol::sasl_list_mechs_request_body> list_req;
|
152
|
-
list_req.opaque(session_->next_opaque());
|
153
|
-
session_->write(list_req.data());
|
154
|
-
|
155
|
-
protocol::client_request<protocol::sasl_auth_request_body> auth_req;
|
156
|
-
auto [sasl_code, sasl_payload] = sasl_.start();
|
157
|
-
auth_req.opaque(session_->next_opaque());
|
158
|
-
auth_req.body().mechanism(sasl_.get_name());
|
159
|
-
auth_req.body().sasl_data(sasl_payload);
|
160
|
-
session_->write(auth_req.data());
|
161
|
-
}
|
162
|
-
|
163
|
-
session_->flush();
|
164
|
-
}
|
165
|
-
|
166
|
-
void complete(std::error_code ec)
|
167
|
-
{
|
168
|
-
stopped_ = true;
|
169
|
-
session_->invoke_bootstrap_handler(ec);
|
170
|
-
}
|
171
|
-
|
172
|
-
void auth_success()
|
173
|
-
{
|
174
|
-
session_->authenticated_ = true;
|
175
|
-
if (session_->supports_feature(protocol::hello_feature::xerror)) {
|
176
|
-
protocol::client_request<protocol::get_error_map_request_body> errmap_req;
|
177
|
-
errmap_req.opaque(session_->next_opaque());
|
178
|
-
session_->write(errmap_req.data());
|
179
|
-
}
|
180
|
-
if (session_->bucket_name_) {
|
181
|
-
protocol::client_request<protocol::select_bucket_request_body> sb_req;
|
182
|
-
sb_req.opaque(session_->next_opaque());
|
183
|
-
sb_req.body().bucket_name(session_->bucket_name_.value());
|
184
|
-
session_->write(sb_req.data());
|
185
|
-
}
|
186
|
-
protocol::client_request<protocol::get_cluster_config_request_body> cfg_req;
|
187
|
-
cfg_req.opaque(session_->next_opaque());
|
188
|
-
session_->write(cfg_req.data());
|
189
|
-
session_->flush();
|
190
|
-
}
|
191
|
-
|
192
|
-
void handle(mcbp_message&& msg) override
|
193
|
-
{
|
194
|
-
if (stopped_ || !session_) {
|
195
|
-
return;
|
196
|
-
}
|
197
|
-
Expects(protocol::is_valid_magic(msg.header.magic));
|
198
|
-
switch (auto magic = protocol::magic(msg.header.magic)) {
|
199
|
-
case protocol::magic::client_response:
|
200
|
-
case protocol::magic::alt_client_response:
|
201
|
-
Expects(protocol::is_valid_client_opcode(msg.header.opcode));
|
202
|
-
switch (auto status = protocol::status(msg.header.status())) {
|
203
|
-
case protocol::status::rate_limited_max_commands:
|
204
|
-
case protocol::status::rate_limited_max_connections:
|
205
|
-
case protocol::status::rate_limited_network_egress:
|
206
|
-
case protocol::status::rate_limited_network_ingress:
|
207
|
-
LOG_DEBUG(
|
208
|
-
"{} unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), the user has reached rate limit",
|
209
|
-
session_->log_prefix_,
|
210
|
-
session_->bucket_name_.value_or(""),
|
211
|
-
protocol::client_opcode(msg.header.opcode),
|
212
|
-
status);
|
213
|
-
return complete(error::common_errc::rate_limited);
|
214
|
-
|
215
|
-
case protocol::status::scope_size_limit_exceeded:
|
216
|
-
LOG_DEBUG(
|
217
|
-
"{} unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), the user has reached quota limit",
|
218
|
-
session_->log_prefix_,
|
219
|
-
session_->bucket_name_.value_or(""),
|
220
|
-
protocol::client_opcode(msg.header.opcode),
|
221
|
-
status);
|
222
|
-
return complete(error::common_errc::quota_limited);
|
223
|
-
|
224
|
-
default:
|
225
|
-
break;
|
226
|
-
}
|
227
|
-
switch (auto opcode = protocol::client_opcode(msg.header.opcode)) {
|
228
|
-
case protocol::client_opcode::hello: {
|
229
|
-
protocol::client_response<protocol::hello_response_body> resp(std::move(msg));
|
230
|
-
if (resp.status() == protocol::status::success) {
|
231
|
-
session_->supported_features_ = resp.body().supported_features();
|
232
|
-
LOG_DEBUG("{} supported_features=[{}]",
|
233
|
-
session_->log_prefix_,
|
234
|
-
utils::join_strings_fmt("{}", session_->supported_features_, ", "));
|
235
|
-
if (session_->origin_.credentials().uses_certificate()) {
|
236
|
-
LOG_DEBUG("{} skip SASL authentication, because TLS certificate was specified", session_->log_prefix_);
|
237
|
-
return auth_success();
|
238
|
-
}
|
239
|
-
} else {
|
240
|
-
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={})",
|
241
|
-
session_->log_prefix_,
|
242
|
-
resp.error_message(),
|
243
|
-
resp.opaque());
|
244
|
-
return complete(error::network_errc::handshake_failure);
|
245
|
-
}
|
246
|
-
} break;
|
247
|
-
case protocol::client_opcode::sasl_list_mechs: {
|
248
|
-
protocol::client_response<protocol::sasl_list_mechs_response_body> resp(std::move(msg));
|
249
|
-
if (resp.status() != protocol::status::success) {
|
250
|
-
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={})",
|
251
|
-
session_->log_prefix_,
|
252
|
-
resp.error_message(),
|
253
|
-
resp.opaque());
|
254
|
-
return complete(error::common_errc::authentication_failure);
|
255
|
-
}
|
256
|
-
} break;
|
257
|
-
case protocol::client_opcode::sasl_auth: {
|
258
|
-
protocol::client_response<protocol::sasl_auth_response_body> resp(std::move(msg));
|
259
|
-
if (resp.status() == protocol::status::success) {
|
260
|
-
return auth_success();
|
261
|
-
}
|
262
|
-
if (resp.status() == protocol::status::auth_continue) {
|
263
|
-
auto [sasl_code, sasl_payload] = sasl_.step(resp.body().value());
|
264
|
-
if (sasl_code == sasl::error::OK) {
|
265
|
-
return auth_success();
|
266
|
-
}
|
267
|
-
if (sasl_code == sasl::error::CONTINUE) {
|
268
|
-
protocol::client_request<protocol::sasl_step_request_body> req;
|
269
|
-
req.opaque(session_->next_opaque());
|
270
|
-
req.body().mechanism(sasl_.get_name());
|
271
|
-
req.body().sasl_data(sasl_payload);
|
272
|
-
session_->write_and_flush(req.data());
|
273
|
-
} else {
|
274
|
-
LOG_ERROR("{} unable to authenticate: (sasl_code={}, opaque={})",
|
275
|
-
session_->log_prefix_,
|
276
|
-
sasl_code,
|
277
|
-
resp.opaque());
|
278
|
-
return complete(error::common_errc::authentication_failure);
|
279
|
-
}
|
280
|
-
} else {
|
281
|
-
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={})",
|
282
|
-
session_->log_prefix_,
|
283
|
-
resp.error_message(),
|
284
|
-
resp.opaque());
|
285
|
-
return complete(error::common_errc::authentication_failure);
|
286
|
-
}
|
287
|
-
} break;
|
288
|
-
case protocol::client_opcode::sasl_step: {
|
289
|
-
protocol::client_response<protocol::sasl_step_response_body> resp(std::move(msg));
|
290
|
-
if (resp.status() == protocol::status::success) {
|
291
|
-
return auth_success();
|
292
|
-
}
|
293
|
-
return complete(error::common_errc::authentication_failure);
|
294
|
-
}
|
295
|
-
case protocol::client_opcode::get_error_map: {
|
296
|
-
protocol::client_response<protocol::get_error_map_response_body> resp(std::move(msg));
|
297
|
-
if (resp.status() == protocol::status::success) {
|
298
|
-
session_->error_map_.emplace(resp.body().errmap());
|
299
|
-
} else {
|
300
|
-
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={}, {:n})",
|
301
|
-
session_->log_prefix_,
|
302
|
-
resp.error_message(),
|
303
|
-
resp.opaque(),
|
304
|
-
spdlog::to_hex(resp.header()));
|
305
|
-
return complete(error::network_errc::protocol_error);
|
306
|
-
}
|
307
|
-
} break;
|
308
|
-
case protocol::client_opcode::select_bucket: {
|
309
|
-
protocol::client_response<protocol::select_bucket_response_body> resp(std::move(msg));
|
310
|
-
if (resp.status() == protocol::status::success) {
|
311
|
-
LOG_DEBUG("{} selected bucket: {}", session_->log_prefix_, session_->bucket_name_.value_or(""));
|
312
|
-
session_->bucket_selected_ = true;
|
313
|
-
} else if (resp.status() == protocol::status::not_found) {
|
314
|
-
LOG_DEBUG("{} kv_engine node does not have configuration propagated yet (opcode={}, status={}, opaque={})",
|
315
|
-
session_->log_prefix_,
|
316
|
-
opcode,
|
317
|
-
resp.status(),
|
318
|
-
resp.opaque());
|
319
|
-
return complete(error::network_errc::configuration_not_available);
|
320
|
-
} else if (resp.status() == protocol::status::no_access) {
|
321
|
-
LOG_DEBUG("{} unable to select bucket: {}, probably the bucket does not exist",
|
322
|
-
session_->log_prefix_,
|
323
|
-
session_->bucket_name_.value_or(""));
|
324
|
-
session_->bucket_selected_ = false;
|
325
|
-
return complete(error::common_errc::bucket_not_found);
|
326
|
-
} else {
|
327
|
-
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={}, {:n})",
|
328
|
-
session_->log_prefix_,
|
329
|
-
resp.error_message(),
|
330
|
-
resp.opaque(),
|
331
|
-
spdlog::to_hex(resp.header()));
|
332
|
-
return complete(error::common_errc::bucket_not_found);
|
333
|
-
}
|
334
|
-
} break;
|
335
|
-
case protocol::client_opcode::get_cluster_config: {
|
336
|
-
protocol::cmd_info info{ session_->endpoint_address_, session_->endpoint_.port() };
|
337
|
-
protocol::client_response<protocol::get_cluster_config_response_body> resp(std::move(msg), info);
|
338
|
-
if (resp.status() == protocol::status::success) {
|
339
|
-
session_->update_configuration(resp.body().config());
|
340
|
-
complete({});
|
341
|
-
} else if (resp.status() == protocol::status::not_found) {
|
342
|
-
LOG_DEBUG("{} kv_engine node does not have configuration propagated yet (opcode={}, status={}, opaque={})",
|
343
|
-
session_->log_prefix_,
|
344
|
-
opcode,
|
345
|
-
resp.status(),
|
346
|
-
resp.opaque());
|
347
|
-
return complete(error::network_errc::configuration_not_available);
|
348
|
-
} else if (resp.status() == protocol::status::no_bucket && !session_->bucket_name_) {
|
349
|
-
// bucket-less session, but the server wants bucket
|
350
|
-
session_->supports_gcccp_ = false;
|
351
|
-
LOG_WARNING("{} this server does not support GCCCP, open bucket before making any cluster-level command",
|
352
|
-
session_->log_prefix_);
|
353
|
-
session_->update_configuration(
|
354
|
-
topology::make_blank_configuration(session_->endpoint_address_, session_->endpoint_.port(), 0));
|
355
|
-
complete({});
|
356
|
-
} else {
|
357
|
-
LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={}, {:n})",
|
358
|
-
session_->log_prefix_,
|
359
|
-
resp.error_message(),
|
360
|
-
resp.opaque(),
|
361
|
-
spdlog::to_hex(resp.header()));
|
362
|
-
return complete(error::network_errc::protocol_error);
|
363
|
-
}
|
364
|
-
} break;
|
365
|
-
default:
|
366
|
-
LOG_WARNING("{} unexpected message during bootstrap: {}", session_->log_prefix_, opcode);
|
367
|
-
return complete(error::network_errc::protocol_error);
|
368
|
-
}
|
369
|
-
break;
|
370
|
-
case protocol::magic::server_request:
|
371
|
-
Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
|
372
|
-
switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
|
373
|
-
case protocol::server_opcode::cluster_map_change_notification: {
|
374
|
-
protocol::cmd_info info{ session_->endpoint_address_, session_->endpoint_.port() };
|
375
|
-
protocol::server_request<protocol::cluster_map_change_notification_request_body> req(std::move(msg), info);
|
376
|
-
std::optional<topology::configuration> config = req.body().config();
|
377
|
-
if (session_ && config.has_value()) {
|
378
|
-
if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
|
379
|
-
(session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
|
380
|
-
session_->bucket_name_.value() == req.body().bucket())) {
|
381
|
-
session_->update_configuration(std::move(config.value()));
|
382
|
-
}
|
383
|
-
}
|
384
|
-
} break;
|
385
|
-
default:
|
386
|
-
LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
|
387
|
-
session_->log_prefix_,
|
388
|
-
msg.header.opcode,
|
389
|
-
msg.header.opaque,
|
390
|
-
spdlog::to_hex(msg.header_data()),
|
391
|
-
spdlog::to_hex(msg.body));
|
392
|
-
}
|
393
|
-
break;
|
394
|
-
case protocol::magic::client_request:
|
395
|
-
case protocol::magic::alt_client_request:
|
396
|
-
case protocol::magic::server_response:
|
397
|
-
LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
|
398
|
-
session_->log_prefix_,
|
399
|
-
magic,
|
400
|
-
msg.header.opcode,
|
401
|
-
msg.header.opaque,
|
402
|
-
spdlog::to_hex(msg.header_data()),
|
403
|
-
spdlog::to_hex(msg.body));
|
404
|
-
break;
|
405
|
-
}
|
406
|
-
}
|
407
|
-
};
|
408
|
-
|
409
|
-
class normal_handler
|
410
|
-
: public message_handler
|
411
|
-
, public std::enable_shared_from_this<normal_handler>
|
412
|
-
{
|
413
|
-
private:
|
414
|
-
std::shared_ptr<mcbp_session> session_;
|
415
|
-
asio::steady_timer heartbeat_timer_;
|
416
|
-
std::atomic_bool stopped_{ false };
|
417
|
-
|
418
|
-
public:
|
419
|
-
~normal_handler() override
|
420
|
-
{
|
421
|
-
stop();
|
422
|
-
}
|
423
|
-
|
424
|
-
explicit normal_handler(std::shared_ptr<mcbp_session> session)
|
425
|
-
: session_(session)
|
426
|
-
, heartbeat_timer_(session_->ctx_)
|
427
|
-
{
|
428
|
-
}
|
429
|
-
|
430
|
-
void start()
|
431
|
-
{
|
432
|
-
if (session_->supports_gcccp_) {
|
433
|
-
fetch_config({});
|
434
|
-
}
|
435
|
-
}
|
436
|
-
|
437
|
-
void stop() override
|
438
|
-
{
|
439
|
-
if (stopped_) {
|
440
|
-
return;
|
441
|
-
}
|
442
|
-
stopped_ = true;
|
443
|
-
heartbeat_timer_.cancel();
|
444
|
-
session_.reset();
|
445
|
-
}
|
446
|
-
|
447
|
-
void handle(mcbp_message&& msg) override
|
448
|
-
{
|
449
|
-
if (stopped_ || !session_) {
|
450
|
-
return;
|
451
|
-
}
|
452
|
-
Expects(protocol::is_valid_magic(msg.header.magic));
|
453
|
-
switch (auto magic = protocol::magic(msg.header.magic)) {
|
454
|
-
case protocol::magic::client_response:
|
455
|
-
case protocol::magic::alt_client_response:
|
456
|
-
Expects(protocol::is_valid_client_opcode(msg.header.opcode));
|
457
|
-
switch (auto opcode = protocol::client_opcode(msg.header.opcode)) {
|
458
|
-
case protocol::client_opcode::get_cluster_config: {
|
459
|
-
protocol::cmd_info info{ session_->endpoint_address_, session_->endpoint_.port() };
|
460
|
-
protocol::client_response<protocol::get_cluster_config_response_body> resp(std::move(msg), info);
|
461
|
-
if (resp.status() == protocol::status::success) {
|
462
|
-
if (session_) {
|
463
|
-
session_->update_configuration(resp.body().config());
|
464
|
-
}
|
465
|
-
} else {
|
466
|
-
LOG_WARNING("{} unexpected message status: {} (opaque={})",
|
467
|
-
session_->log_prefix_,
|
468
|
-
resp.error_message(),
|
469
|
-
resp.opaque());
|
470
|
-
}
|
471
|
-
} break;
|
472
|
-
case protocol::client_opcode::noop:
|
473
|
-
case protocol::client_opcode::get_collections_manifest:
|
474
|
-
case protocol::client_opcode::get_collection_id:
|
475
|
-
case protocol::client_opcode::get:
|
476
|
-
case protocol::client_opcode::get_and_lock:
|
477
|
-
case protocol::client_opcode::get_and_touch:
|
478
|
-
case protocol::client_opcode::get_meta:
|
479
|
-
case protocol::client_opcode::touch:
|
480
|
-
case protocol::client_opcode::insert:
|
481
|
-
case protocol::client_opcode::replace:
|
482
|
-
case protocol::client_opcode::upsert:
|
483
|
-
case protocol::client_opcode::append:
|
484
|
-
case protocol::client_opcode::prepend:
|
485
|
-
case protocol::client_opcode::remove:
|
486
|
-
case protocol::client_opcode::observe:
|
487
|
-
case protocol::client_opcode::unlock:
|
488
|
-
case protocol::client_opcode::increment:
|
489
|
-
case protocol::client_opcode::decrement:
|
490
|
-
case protocol::client_opcode::subdoc_multi_lookup:
|
491
|
-
case protocol::client_opcode::subdoc_multi_mutation: {
|
492
|
-
std::uint32_t opaque = msg.header.opaque;
|
493
|
-
std::uint16_t status = utils::byte_swap(msg.header.specific);
|
494
|
-
session_->command_handlers_mutex_.lock();
|
495
|
-
auto handler = session_->command_handlers_.find(opaque);
|
496
|
-
if (handler != session_->command_handlers_.end() && handler->second) {
|
497
|
-
auto ec = protocol::map_status_code(opcode, status);
|
498
|
-
LOG_TRACE("{} MCBP invoke operation handler: opcode={}, opaque={}, status={}, ec={}",
|
499
|
-
session_->log_prefix_,
|
500
|
-
opcode,
|
501
|
-
opaque,
|
502
|
-
protocol::status_to_string(status),
|
503
|
-
ec.message());
|
504
|
-
auto fun = std::move(handler->second);
|
505
|
-
session_->command_handlers_.erase(handler);
|
506
|
-
session_->command_handlers_mutex_.unlock();
|
507
|
-
fun(ec, retry_reason::do_not_retry, std::move(msg));
|
508
|
-
} else {
|
509
|
-
session_->command_handlers_mutex_.unlock();
|
510
|
-
LOG_DEBUG("{} unexpected orphan response: opcode={}, opaque={}, status={}",
|
511
|
-
session_->log_prefix_,
|
512
|
-
opcode,
|
513
|
-
msg.header.opaque,
|
514
|
-
protocol::status_to_string(status));
|
515
|
-
}
|
516
|
-
} break;
|
517
|
-
default:
|
518
|
-
LOG_WARNING("{} unexpected client response: opcode={}, opaque={}{:a}{:a})",
|
519
|
-
session_->log_prefix_,
|
520
|
-
opcode,
|
521
|
-
msg.header.opaque,
|
522
|
-
spdlog::to_hex(msg.header_data()),
|
523
|
-
spdlog::to_hex(msg.body));
|
524
|
-
}
|
525
|
-
break;
|
526
|
-
case protocol::magic::server_request:
|
527
|
-
Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
|
528
|
-
switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
|
529
|
-
case protocol::server_opcode::cluster_map_change_notification: {
|
530
|
-
protocol::server_request<protocol::cluster_map_change_notification_request_body> req(std::move(msg));
|
531
|
-
std::optional<topology::configuration> config = req.body().config();
|
532
|
-
if (session_ && config.has_value()) {
|
533
|
-
if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
|
534
|
-
(session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
|
535
|
-
session_->bucket_name_.value() == req.body().bucket())) {
|
536
|
-
session_->update_configuration(std::move(config.value()));
|
537
|
-
}
|
538
|
-
}
|
539
|
-
} break;
|
540
|
-
default:
|
541
|
-
LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
|
542
|
-
session_->log_prefix_,
|
543
|
-
msg.header.opcode,
|
544
|
-
msg.header.opaque,
|
545
|
-
spdlog::to_hex(msg.header_data()),
|
546
|
-
spdlog::to_hex(msg.body));
|
547
|
-
}
|
548
|
-
break;
|
549
|
-
case protocol::magic::client_request:
|
550
|
-
case protocol::magic::alt_client_request:
|
551
|
-
case protocol::magic::server_response:
|
552
|
-
LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
|
553
|
-
session_->log_prefix_,
|
554
|
-
magic,
|
555
|
-
msg.header.opcode,
|
556
|
-
msg.header.opaque,
|
557
|
-
spdlog::to_hex(msg.header_data()),
|
558
|
-
spdlog::to_hex(msg.body));
|
559
|
-
break;
|
560
|
-
}
|
561
|
-
}
|
562
|
-
|
563
|
-
void fetch_config(std::error_code ec)
|
564
|
-
{
|
565
|
-
if (ec == asio::error::operation_aborted || stopped_ || !session_) {
|
566
|
-
return;
|
567
|
-
}
|
568
|
-
protocol::client_request<protocol::get_cluster_config_request_body> req;
|
569
|
-
req.opaque(session_->next_opaque());
|
570
|
-
session_->write_and_flush(req.data());
|
571
|
-
heartbeat_timer_.expires_after(std::chrono::milliseconds(2500));
|
572
|
-
heartbeat_timer_.async_wait([self = shared_from_this()](std::error_code e) {
|
573
|
-
if (e == asio::error::operation_aborted) {
|
574
|
-
return;
|
575
|
-
}
|
576
|
-
self->fetch_config(e);
|
577
|
-
});
|
578
|
-
}
|
579
|
-
};
|
580
|
-
|
581
|
-
public:
|
582
|
-
mcbp_session() = delete;
|
583
|
-
mcbp_session(const std::string& client_id,
|
584
|
-
asio::io_context& ctx,
|
585
|
-
const couchbase::origin& origin,
|
586
|
-
std::optional<std::string> bucket_name = {},
|
587
|
-
std::vector<protocol::hello_feature> known_features = {})
|
588
|
-
: client_id_(client_id)
|
589
|
-
, id_(uuid::to_string(uuid::random()))
|
590
|
-
, ctx_(ctx)
|
591
|
-
, resolver_(ctx_)
|
592
|
-
, stream_(std::make_unique<plain_stream_impl>(ctx_))
|
593
|
-
, bootstrap_deadline_(ctx_)
|
594
|
-
, connection_deadline_(ctx_)
|
595
|
-
, retry_backoff_(ctx_)
|
596
|
-
, origin_(origin)
|
597
|
-
, bucket_name_(std::move(bucket_name))
|
598
|
-
, supported_features_(known_features)
|
599
|
-
{
|
600
|
-
log_prefix_ = fmt::format("[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
|
601
|
-
}
|
602
|
-
|
603
|
-
mcbp_session(const std::string& client_id,
|
604
|
-
asio::io_context& ctx,
|
605
|
-
asio::ssl::context& tls,
|
606
|
-
const couchbase::origin& origin,
|
607
|
-
std::optional<std::string> bucket_name = {},
|
608
|
-
std::vector<protocol::hello_feature> known_features = {})
|
609
|
-
: client_id_(client_id)
|
610
|
-
, id_(uuid::to_string(uuid::random()))
|
611
|
-
, ctx_(ctx)
|
612
|
-
, resolver_(ctx_)
|
613
|
-
, stream_(std::make_unique<tls_stream_impl>(ctx_, tls))
|
614
|
-
, bootstrap_deadline_(ctx_)
|
615
|
-
, connection_deadline_(ctx_)
|
616
|
-
, retry_backoff_(ctx_)
|
617
|
-
, origin_(origin)
|
618
|
-
, bucket_name_(std::move(bucket_name))
|
619
|
-
, supported_features_(known_features)
|
620
|
-
{
|
621
|
-
log_prefix_ = fmt::format("[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
|
622
|
-
}
|
623
|
-
|
624
|
-
~mcbp_session()
|
625
|
-
{
|
626
|
-
LOG_DEBUG("{} destroy MCBP connection", log_prefix_);
|
627
|
-
stop(retry_reason::do_not_retry);
|
628
|
-
}
|
629
|
-
|
630
|
-
[[nodiscard]] const std::string& log_prefix() const
|
631
|
-
{
|
632
|
-
return log_prefix_;
|
633
|
-
}
|
634
|
-
|
635
|
-
std::string remote_address() const
|
636
|
-
{
|
637
|
-
if (endpoint_.protocol() == asio::ip::tcp::v6()) {
|
638
|
-
return fmt::format("[{}]:{}", endpoint_address_, endpoint_.port());
|
639
|
-
}
|
640
|
-
return fmt::format("{}:{}", endpoint_address_, endpoint_.port());
|
641
|
-
}
|
642
|
-
|
643
|
-
std::string local_address() const
|
644
|
-
{
|
645
|
-
if (endpoint_.protocol() == asio::ip::tcp::v6()) {
|
646
|
-
return fmt::format("[{}]:{}", local_endpoint_address_, local_endpoint_.port());
|
647
|
-
}
|
648
|
-
return fmt::format("{}:{}", local_endpoint_address_, local_endpoint_.port());
|
649
|
-
}
|
650
|
-
|
651
|
-
[[nodiscard]] diag::endpoint_diag_info diag_info() const
|
652
|
-
{
|
653
|
-
return { service_type::key_value,
|
654
|
-
id_,
|
655
|
-
last_active_.time_since_epoch().count() == 0 ? std::nullopt
|
656
|
-
: std::make_optional(std::chrono::duration_cast<std::chrono::microseconds>(
|
657
|
-
std::chrono::steady_clock::now() - last_active_)),
|
658
|
-
remote_address(),
|
659
|
-
local_address(),
|
660
|
-
state_,
|
661
|
-
bucket_name_ };
|
662
|
-
}
|
663
|
-
|
664
|
-
template<typename Handler>
|
665
|
-
void ping(Handler&& handler)
|
666
|
-
{
|
667
|
-
protocol::client_request<protocol::mcbp_noop_request_body> req;
|
668
|
-
req.opaque(next_opaque());
|
669
|
-
write_and_subscribe(req.opaque(),
|
670
|
-
std::move(req.data(false)),
|
671
|
-
[start = std::chrono::steady_clock::now(), self = shared_from_this(), handler](
|
672
|
-
std::error_code ec, retry_reason reason, io::mcbp_message&& /* msg */) {
|
673
|
-
diag::ping_state state = diag::ping_state::ok;
|
674
|
-
std::optional<std::string> error{};
|
675
|
-
if (ec) {
|
676
|
-
state = diag::ping_state::error;
|
677
|
-
error.emplace(fmt::format("code={}, message={}, reason={}", ec.value(), ec.message(), reason));
|
678
|
-
}
|
679
|
-
handler(diag::endpoint_ping_info{
|
680
|
-
service_type::key_value,
|
681
|
-
self->id_,
|
682
|
-
std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - start),
|
683
|
-
self->remote_address(),
|
684
|
-
self->local_address(),
|
685
|
-
state,
|
686
|
-
self->bucket_name_,
|
687
|
-
error });
|
688
|
-
});
|
689
|
-
}
|
690
|
-
|
691
|
-
[[nodiscard]] mcbp_context context() const
|
692
|
-
{
|
693
|
-
return { config_, supported_features_ };
|
694
|
-
}
|
695
|
-
|
696
|
-
void bootstrap(utils::movable_function<void(std::error_code, topology::configuration)>&& handler,
|
697
|
-
bool retry_on_bucket_not_found = false)
|
698
|
-
{
|
699
|
-
retry_bootstrap_on_bucket_not_found_ = retry_on_bucket_not_found;
|
700
|
-
bootstrap_handler_ = std::move(handler);
|
701
|
-
bootstrap_deadline_.expires_after(origin_.options().bootstrap_timeout);
|
702
|
-
bootstrap_deadline_.async_wait([self = shared_from_this()](std::error_code ec) {
|
703
|
-
if (ec == asio::error::operation_aborted || self->stopped_) {
|
704
|
-
return;
|
705
|
-
}
|
706
|
-
LOG_WARNING("{} unable to bootstrap in time", self->log_prefix_);
|
707
|
-
auto h = std::move(self->bootstrap_handler_);
|
708
|
-
h(error::common_errc::unambiguous_timeout, {});
|
709
|
-
self->stop(retry_reason::do_not_retry);
|
710
|
-
});
|
711
|
-
initiate_bootstrap();
|
712
|
-
}
|
713
|
-
|
714
|
-
void initiate_bootstrap()
|
715
|
-
{
|
716
|
-
if (stopped_) {
|
717
|
-
return;
|
718
|
-
}
|
719
|
-
state_ = diag::endpoint_state::connecting;
|
720
|
-
if (stream_->is_open()) {
|
721
|
-
std::string old_id = stream_->id();
|
722
|
-
stream_->reopen();
|
723
|
-
LOG_TRACE(R"({} reopen socket connection "{}" -> "{}", host="{}", port={})",
|
724
|
-
log_prefix_,
|
725
|
-
old_id,
|
726
|
-
stream_->id(),
|
727
|
-
bootstrap_hostname_,
|
728
|
-
bootstrap_port_);
|
729
|
-
}
|
730
|
-
if (origin_.exhausted()) {
|
731
|
-
auto backoff = std::chrono::milliseconds(500);
|
732
|
-
LOG_DEBUG("{} reached the end of list of bootstrap nodes, waiting for {}ms before restart", log_prefix_, backoff.count());
|
733
|
-
retry_backoff_.expires_after(backoff);
|
734
|
-
retry_backoff_.async_wait([self = shared_from_this()](std::error_code ec) mutable {
|
735
|
-
if (ec == asio::error::operation_aborted || self->stopped_) {
|
736
|
-
return;
|
737
|
-
}
|
738
|
-
self->origin_.restart();
|
739
|
-
self->initiate_bootstrap();
|
740
|
-
});
|
741
|
-
return;
|
742
|
-
}
|
743
|
-
std::tie(bootstrap_hostname_, bootstrap_port_) = origin_.next_address();
|
744
|
-
log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}:{}>",
|
745
|
-
client_id_,
|
746
|
-
id_,
|
747
|
-
stream_->log_prefix(),
|
748
|
-
bucket_name_.value_or("-"),
|
749
|
-
bootstrap_hostname_,
|
750
|
-
bootstrap_port_);
|
751
|
-
LOG_DEBUG("{} attempt to establish MCBP connection", log_prefix_);
|
752
|
-
|
753
|
-
async_resolve(origin_.options().use_ip_protocol,
|
754
|
-
resolver_,
|
755
|
-
bootstrap_hostname_,
|
756
|
-
bootstrap_port_,
|
757
|
-
std::bind(&mcbp_session::on_resolve, shared_from_this(), std::placeholders::_1, std::placeholders::_2));
|
758
|
-
}
|
759
|
-
|
760
|
-
[[nodiscard]] const std::string& id() const
|
761
|
-
{
|
762
|
-
return id_;
|
763
|
-
}
|
764
|
-
|
765
|
-
[[nodiscard]] bool is_stopped() const
|
766
|
-
{
|
767
|
-
return stopped_;
|
768
|
-
}
|
769
|
-
|
770
|
-
void on_stop(std::function<void(io::retry_reason)> handler)
|
771
|
-
{
|
772
|
-
on_stop_handler_ = std::move(handler);
|
773
|
-
}
|
774
|
-
|
775
|
-
void stop(retry_reason reason)
|
776
|
-
{
|
777
|
-
if (stopped_) {
|
778
|
-
return;
|
779
|
-
}
|
780
|
-
state_ = diag::endpoint_state::disconnecting;
|
781
|
-
LOG_DEBUG("{} stop MCBP connection, reason={}", log_prefix_, reason);
|
782
|
-
stopped_ = true;
|
783
|
-
bootstrap_deadline_.cancel();
|
784
|
-
connection_deadline_.cancel();
|
785
|
-
retry_backoff_.cancel();
|
786
|
-
resolver_.cancel();
|
787
|
-
stream_->close([](std::error_code) {});
|
788
|
-
std::error_code ec = error::common_errc::request_canceled;
|
789
|
-
if (!bootstrapped_ && bootstrap_handler_) {
|
790
|
-
auto h = std::move(bootstrap_handler_);
|
791
|
-
h(ec, {});
|
792
|
-
}
|
793
|
-
if (handler_) {
|
794
|
-
handler_->stop();
|
795
|
-
handler_ = nullptr;
|
796
|
-
}
|
797
|
-
{
|
798
|
-
std::scoped_lock lock(command_handlers_mutex_);
|
799
|
-
for (auto& [opaque, handler] : command_handlers_) {
|
800
|
-
if (handler) {
|
801
|
-
LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}", log_prefix_, opaque, ec.message());
|
802
|
-
auto fun = std::move(handler);
|
803
|
-
fun(ec, reason, {});
|
804
|
-
}
|
805
|
-
}
|
806
|
-
command_handlers_.clear();
|
807
|
-
}
|
808
|
-
config_listeners_.clear();
|
809
|
-
if (on_stop_handler_) {
|
810
|
-
on_stop_handler_(reason);
|
811
|
-
}
|
812
|
-
on_stop_handler_ = nullptr;
|
813
|
-
state_ = diag::endpoint_state::disconnected;
|
814
|
-
}
|
815
|
-
|
816
|
-
void write(std::vector<std::byte>&& buf)
|
817
|
-
{
|
818
|
-
if (stopped_) {
|
819
|
-
return;
|
820
|
-
}
|
821
|
-
std::uint32_t opaque{ 0 };
|
822
|
-
std::memcpy(&opaque, buf.data() + 12, sizeof(opaque));
|
823
|
-
LOG_TRACE("{} MCBP send, opaque={}, {:n}", log_prefix_, opaque, spdlog::to_hex(buf.begin(), buf.begin() + 24));
|
824
|
-
std::scoped_lock lock(output_buffer_mutex_);
|
825
|
-
output_buffer_.emplace_back(std::move(buf));
|
826
|
-
}
|
827
|
-
|
828
|
-
void flush()
|
829
|
-
{
|
830
|
-
if (stopped_) {
|
831
|
-
return;
|
832
|
-
}
|
833
|
-
do_write();
|
834
|
-
}
|
835
|
-
|
836
|
-
void write_and_flush(std::vector<std::byte>&& buf)
|
837
|
-
{
|
838
|
-
if (stopped_) {
|
839
|
-
return;
|
840
|
-
}
|
841
|
-
write(std::move(buf));
|
842
|
-
flush();
|
843
|
-
}
|
844
|
-
|
845
|
-
void write_and_subscribe(std::uint32_t opaque,
|
846
|
-
std::vector<std::byte>&& data,
|
847
|
-
std::function<void(std::error_code, retry_reason, io::mcbp_message&&)> handler)
|
848
|
-
{
|
849
|
-
if (stopped_) {
|
850
|
-
LOG_WARNING("{} MCBP cancel operation, while trying to write to closed session, opaque={}", log_prefix_, opaque);
|
851
|
-
handler(error::common_errc::request_canceled, retry_reason::socket_closed_while_in_flight, {});
|
852
|
-
return;
|
853
|
-
}
|
854
|
-
{
|
855
|
-
std::scoped_lock lock(command_handlers_mutex_);
|
856
|
-
command_handlers_.try_emplace(opaque, std::move(handler));
|
857
|
-
}
|
858
|
-
if (bootstrapped_ && stream_->is_open()) {
|
859
|
-
write_and_flush(std::move(data));
|
860
|
-
} else {
|
861
|
-
LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}", log_prefix_, opaque);
|
862
|
-
std::scoped_lock lock(pending_buffer_mutex_);
|
863
|
-
if (bootstrapped_ && stream_->is_open()) {
|
864
|
-
write_and_flush(std::move(data));
|
865
|
-
} else {
|
866
|
-
pending_buffer_.emplace_back(data);
|
867
|
-
}
|
868
|
-
}
|
869
|
-
}
|
870
|
-
|
871
|
-
[[nodiscard]] bool cancel(uint32_t opaque, std::error_code ec, retry_reason reason)
|
872
|
-
{
|
873
|
-
if (stopped_) {
|
874
|
-
return false;
|
875
|
-
}
|
876
|
-
command_handlers_mutex_.lock();
|
877
|
-
if (auto handler = command_handlers_.find(opaque); handler != command_handlers_.end()) {
|
878
|
-
LOG_DEBUG("{} MCBP cancel operation, opaque={}, ec={} ({})", log_prefix_, opaque, ec.value(), ec.message());
|
879
|
-
if (handler->second) {
|
880
|
-
auto fun = std::move(handler->second);
|
881
|
-
command_handlers_.erase(handler);
|
882
|
-
command_handlers_mutex_.unlock();
|
883
|
-
fun(ec, reason, {});
|
884
|
-
return true;
|
885
|
-
}
|
886
|
-
}
|
887
|
-
command_handlers_mutex_.unlock();
|
888
|
-
return false;
|
889
|
-
}
|
890
|
-
|
891
|
-
[[nodiscard]] bool supports_feature(protocol::hello_feature feature)
|
892
|
-
{
|
893
|
-
return std::find(supported_features_.begin(), supported_features_.end(), feature) != supported_features_.end();
|
894
|
-
}
|
895
|
-
|
896
|
-
[[nodiscard]] std::vector<protocol::hello_feature> supported_features() const
|
897
|
-
{
|
898
|
-
return supported_features_;
|
899
|
-
}
|
900
|
-
|
901
|
-
[[nodiscard]] bool supports_gcccp() const
|
902
|
-
{
|
903
|
-
return supports_gcccp_;
|
904
|
-
}
|
905
|
-
|
906
|
-
[[nodiscard]] bool has_config() const
|
907
|
-
{
|
908
|
-
return configured_;
|
909
|
-
}
|
910
|
-
|
911
|
-
[[nodiscard]] topology::configuration config()
|
912
|
-
{
|
913
|
-
std::scoped_lock lock(config_mutex_);
|
914
|
-
return config_.value();
|
915
|
-
}
|
916
|
-
|
917
|
-
[[nodiscard]] size_t index()
|
918
|
-
{
|
919
|
-
std::scoped_lock lock(config_mutex_);
|
920
|
-
Expects(config_.has_value());
|
921
|
-
return config_->index_for_this_node();
|
922
|
-
}
|
923
|
-
|
924
|
-
[[nodiscard]] const std::string& bootstrap_hostname() const
|
925
|
-
{
|
926
|
-
return bootstrap_hostname_;
|
927
|
-
}
|
928
|
-
|
929
|
-
[[nodiscard]] const std::string& bootstrap_port() const
|
930
|
-
{
|
931
|
-
return bootstrap_port_;
|
932
|
-
}
|
933
|
-
|
934
|
-
[[nodiscard]] uint32_t next_opaque()
|
935
|
-
{
|
936
|
-
return ++opaque_;
|
937
|
-
}
|
938
|
-
|
939
|
-
std::optional<error_map::error_info> decode_error_code(std::uint16_t code)
|
940
|
-
{
|
941
|
-
if (error_map_) {
|
942
|
-
auto info = error_map_->errors.find(code);
|
943
|
-
if (info != error_map_->errors.end()) {
|
944
|
-
return info->second;
|
945
|
-
}
|
946
|
-
}
|
947
|
-
return {};
|
948
|
-
}
|
949
|
-
|
950
|
-
void on_configuration_update(std::function<void(topology::configuration)> handler)
|
951
|
-
{
|
952
|
-
config_listeners_.emplace_back(std::move(handler));
|
953
|
-
}
|
954
|
-
|
955
|
-
void update_configuration(topology::configuration&& config)
|
956
|
-
{
|
957
|
-
if (stopped_) {
|
958
|
-
return;
|
959
|
-
}
|
960
|
-
std::scoped_lock lock(config_mutex_);
|
961
|
-
if (config_) {
|
962
|
-
if (config_->vbmap && config.vbmap && config_->vbmap->size() != config.vbmap->size()) {
|
963
|
-
LOG_DEBUG("{} received a configuration with a different number of vbuckets, ignoring", log_prefix_);
|
964
|
-
return;
|
965
|
-
}
|
966
|
-
if (config == config_) {
|
967
|
-
LOG_TRACE("{} received a configuration with identical revision (rev={}), ignoring", log_prefix_, config.rev_str());
|
968
|
-
return;
|
969
|
-
}
|
970
|
-
if (config < config_) {
|
971
|
-
LOG_DEBUG("{} received a configuration with older revision, ignoring", log_prefix_);
|
972
|
-
return;
|
973
|
-
}
|
974
|
-
}
|
975
|
-
bool this_node_found = false;
|
976
|
-
for (auto& node : config.nodes) {
|
977
|
-
if (node.hostname.empty()) {
|
978
|
-
node.hostname = bootstrap_hostname_;
|
979
|
-
}
|
980
|
-
if (node.this_node) {
|
981
|
-
this_node_found = true;
|
982
|
-
}
|
983
|
-
}
|
984
|
-
if (!this_node_found) {
|
985
|
-
for (auto& node : config.nodes) {
|
986
|
-
if (node.hostname == bootstrap_hostname_) {
|
987
|
-
if ((node.services_plain.key_value && std::to_string(node.services_plain.key_value.value()) == bootstrap_port_) ||
|
988
|
-
(node.services_tls.key_value && std::to_string(node.services_tls.key_value.value()) == bootstrap_port_)) {
|
989
|
-
node.this_node = true;
|
990
|
-
}
|
991
|
-
}
|
992
|
-
}
|
993
|
-
}
|
994
|
-
config_.emplace(std::move(config));
|
995
|
-
configured_ = true;
|
996
|
-
LOG_DEBUG("{} received new configuration: {}", log_prefix_, config_.value());
|
997
|
-
for (const auto& listener : config_listeners_) {
|
998
|
-
listener(*config_);
|
999
|
-
}
|
1000
|
-
}
|
1001
|
-
|
1002
|
-
void handle_not_my_vbucket(const io::mcbp_message& msg)
|
1003
|
-
{
|
1004
|
-
if (stopped_) {
|
1005
|
-
return;
|
1006
|
-
}
|
1007
|
-
Expects(msg.header.magic == static_cast<std::uint8_t>(protocol::magic::alt_client_response) ||
|
1008
|
-
msg.header.magic == static_cast<std::uint8_t>(protocol::magic::client_response));
|
1009
|
-
if (protocol::has_json_datatype(msg.header.datatype)) {
|
1010
|
-
auto magic = static_cast<protocol::magic>(msg.header.magic);
|
1011
|
-
uint8_t extras_size = msg.header.extlen;
|
1012
|
-
uint8_t framing_extras_size = 0;
|
1013
|
-
uint16_t key_size = utils::byte_swap(msg.header.keylen);
|
1014
|
-
if (magic == protocol::magic::alt_client_response) {
|
1015
|
-
framing_extras_size = static_cast<std::uint8_t>(msg.header.keylen >> 8U);
|
1016
|
-
key_size = msg.header.keylen & 0xffU;
|
1017
|
-
}
|
1018
|
-
|
1019
|
-
std::vector<uint8_t>::difference_type offset = framing_extras_size + key_size + extras_size;
|
1020
|
-
if (utils::byte_swap(msg.header.bodylen) - offset > 0) {
|
1021
|
-
std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()) + offset,
|
1022
|
-
msg.body.size() - static_cast<std::size_t>(offset) };
|
1023
|
-
auto config = protocol::parse_config(config_text, endpoint_address_, endpoint_.port());
|
1024
|
-
LOG_DEBUG("{} received not_my_vbucket status for {}, opaque={} with config rev={} in the payload",
|
1025
|
-
log_prefix_,
|
1026
|
-
protocol::client_opcode(msg.header.opcode),
|
1027
|
-
msg.header.opaque,
|
1028
|
-
config.rev_str());
|
1029
|
-
update_configuration(std::move(config));
|
1030
|
-
}
|
1031
|
-
}
|
1032
|
-
}
|
1033
|
-
|
1034
|
-
std::optional<std::uint32_t> get_collection_uid(const std::string& collection_path)
|
1035
|
-
{
|
1036
|
-
return collection_cache_.get(collection_path);
|
1037
|
-
}
|
1038
|
-
|
1039
|
-
void update_collection_uid(const std::string& path, std::uint32_t uid)
|
1040
|
-
{
|
1041
|
-
if (stopped_) {
|
1042
|
-
return;
|
1043
|
-
}
|
1044
|
-
collection_cache_.update(path, uid);
|
1045
|
-
}
|
1046
|
-
|
1047
|
-
private:
|
1048
|
-
void invoke_bootstrap_handler(std::error_code ec)
|
1049
|
-
{
|
1050
|
-
if (ec == error::network_errc::configuration_not_available) {
|
1051
|
-
return initiate_bootstrap();
|
1052
|
-
}
|
1053
|
-
if (retry_bootstrap_on_bucket_not_found_ && ec == error::common_errc::bucket_not_found) {
|
1054
|
-
LOG_DEBUG(R"({} server returned {} ({}), it must be transient condition, retrying)", log_prefix_, ec.value(), ec.message());
|
1055
|
-
return initiate_bootstrap();
|
1056
|
-
}
|
1057
|
-
|
1058
|
-
if (!bootstrapped_ && bootstrap_handler_) {
|
1059
|
-
bootstrap_deadline_.cancel();
|
1060
|
-
auto h = std::move(bootstrap_handler_);
|
1061
|
-
h(ec, config_.value_or(topology::configuration{}));
|
1062
|
-
}
|
1063
|
-
if (ec) {
|
1064
|
-
handler_ = nullptr;
|
1065
|
-
return stop(retry_reason::node_not_available);
|
1066
|
-
}
|
1067
|
-
state_ = diag::endpoint_state::connected;
|
1068
|
-
{
|
1069
|
-
auto handler = std::make_shared<normal_handler>(shared_from_this());
|
1070
|
-
handler->start();
|
1071
|
-
handler_ = handler;
|
1072
|
-
}
|
1073
|
-
std::scoped_lock lock(pending_buffer_mutex_);
|
1074
|
-
bootstrapped_ = true;
|
1075
|
-
if (!pending_buffer_.empty()) {
|
1076
|
-
for (auto& buf : pending_buffer_) {
|
1077
|
-
write(std::move(buf));
|
1078
|
-
}
|
1079
|
-
pending_buffer_.clear();
|
1080
|
-
flush();
|
1081
|
-
}
|
1082
|
-
}
|
1083
|
-
|
1084
|
-
void on_resolve(std::error_code ec, const asio::ip::tcp::resolver::results_type& endpoints)
|
1085
|
-
{
|
1086
|
-
if (ec == asio::error::operation_aborted || stopped_) {
|
1087
|
-
return;
|
1088
|
-
}
|
1089
|
-
last_active_ = std::chrono::steady_clock::now();
|
1090
|
-
if (ec) {
|
1091
|
-
LOG_ERROR("{} error on resolve: {} ({})", log_prefix_, ec.value(), ec.message());
|
1092
|
-
return initiate_bootstrap();
|
1093
|
-
}
|
1094
|
-
endpoints_ = endpoints;
|
1095
|
-
do_connect(endpoints_.begin());
|
1096
|
-
connection_deadline_.expires_after(origin_.options().resolve_timeout);
|
1097
|
-
connection_deadline_.async_wait([self = shared_from_this()](const auto timer_ec) {
|
1098
|
-
if (timer_ec == asio::error::operation_aborted || self->stopped_) {
|
1099
|
-
return;
|
1100
|
-
}
|
1101
|
-
return self->stream_->close([self](std::error_code) { self->initiate_bootstrap(); });
|
1102
|
-
});
|
1103
|
-
}
|
1104
|
-
|
1105
|
-
void do_connect(asio::ip::tcp::resolver::results_type::iterator it)
|
1106
|
-
{
|
1107
|
-
if (stopped_) {
|
1108
|
-
return;
|
1109
|
-
}
|
1110
|
-
last_active_ = std::chrono::steady_clock::now();
|
1111
|
-
if (it != endpoints_.end()) {
|
1112
|
-
LOG_DEBUG("{} connecting to {}:{}, timeout={}ms",
|
1113
|
-
log_prefix_,
|
1114
|
-
it->endpoint().address().to_string(),
|
1115
|
-
it->endpoint().port(),
|
1116
|
-
origin_.options().connect_timeout.count());
|
1117
|
-
connection_deadline_.expires_after(origin_.options().connect_timeout);
|
1118
|
-
connection_deadline_.async_wait([self = shared_from_this()](const auto timer_ec) {
|
1119
|
-
if (timer_ec == asio::error::operation_aborted || self->stopped_) {
|
1120
|
-
return;
|
1121
|
-
}
|
1122
|
-
return self->stream_->close([self](std::error_code) { self->initiate_bootstrap(); });
|
1123
|
-
});
|
1124
|
-
stream_->async_connect(it->endpoint(), std::bind(&mcbp_session::on_connect, shared_from_this(), std::placeholders::_1, it));
|
1125
|
-
} else {
|
1126
|
-
LOG_ERROR("{} no more endpoints left to connect, will try another address", log_prefix_);
|
1127
|
-
return initiate_bootstrap();
|
1128
|
-
}
|
1129
|
-
}
|
1130
|
-
|
1131
|
-
void on_connect(const std::error_code& ec, asio::ip::tcp::resolver::results_type::iterator it)
|
1132
|
-
{
|
1133
|
-
if (ec == asio::error::operation_aborted || stopped_) {
|
1134
|
-
return;
|
1135
|
-
}
|
1136
|
-
last_active_ = std::chrono::steady_clock::now();
|
1137
|
-
if (!stream_->is_open() || ec) {
|
1138
|
-
|
1139
|
-
LOG_WARNING("{} unable to connect to {}:{}: {} ({}){}. is_open={}",
|
1140
|
-
log_prefix_,
|
1141
|
-
it->endpoint().address().to_string(),
|
1142
|
-
it->endpoint().port(),
|
1143
|
-
ec.value(),
|
1144
|
-
(ec.category() == asio::error::ssl_category) ? ERR_error_string(static_cast<unsigned long>(ec.value()), nullptr)
|
1145
|
-
: ec.message(),
|
1146
|
-
(ec == asio::error::connection_refused) ? ", check server ports and cluster encryption setting" : "",
|
1147
|
-
stream_->is_open());
|
1148
|
-
if (stream_->is_open()) {
|
1149
|
-
stream_->close(std::bind(&mcbp_session::do_connect, shared_from_this(), ++it));
|
1150
|
-
} else {
|
1151
|
-
do_connect(++it);
|
1152
|
-
}
|
1153
|
-
} else {
|
1154
|
-
stream_->set_options();
|
1155
|
-
local_endpoint_ = stream_->local_endpoint();
|
1156
|
-
local_endpoint_address_ = local_endpoint_.address().to_string();
|
1157
|
-
endpoint_ = it->endpoint();
|
1158
|
-
endpoint_address_ = endpoint_.address().to_string();
|
1159
|
-
LOG_DEBUG("{} connected to {}:{}", log_prefix_, endpoint_address_, it->endpoint().port());
|
1160
|
-
log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}/{}:{}>",
|
1161
|
-
client_id_,
|
1162
|
-
id_,
|
1163
|
-
stream_->log_prefix(),
|
1164
|
-
bucket_name_.value_or("-"),
|
1165
|
-
bootstrap_hostname_,
|
1166
|
-
endpoint_address_,
|
1167
|
-
endpoint_.port());
|
1168
|
-
handler_ = std::make_shared<bootstrap_handler>(shared_from_this());
|
1169
|
-
connection_deadline_.expires_at(asio::steady_timer::time_point::max());
|
1170
|
-
connection_deadline_.cancel();
|
1171
|
-
}
|
1172
|
-
}
|
1173
|
-
|
1174
|
-
void check_deadline(std::error_code ec)
|
1175
|
-
{
|
1176
|
-
if (ec == asio::error::operation_aborted || stopped_) {
|
1177
|
-
return;
|
1178
|
-
}
|
1179
|
-
if (connection_deadline_.expiry() <= asio::steady_timer::clock_type::now()) {
|
1180
|
-
stream_->close([](std::error_code) {});
|
1181
|
-
connection_deadline_.expires_at(asio::steady_timer::time_point::max());
|
1182
|
-
}
|
1183
|
-
connection_deadline_.async_wait(std::bind(&mcbp_session::check_deadline, shared_from_this(), std::placeholders::_1));
|
1184
|
-
}
|
1185
|
-
|
1186
|
-
void do_read()
|
1187
|
-
{
|
1188
|
-
if (stopped_ || reading_ || !stream_->is_open()) {
|
1189
|
-
return;
|
1190
|
-
}
|
1191
|
-
reading_ = true;
|
1192
|
-
stream_->async_read_some(
|
1193
|
-
asio::buffer(input_buffer_),
|
1194
|
-
[self = shared_from_this(), stream_id = stream_->id()](std::error_code ec, std::size_t bytes_transferred) {
|
1195
|
-
if (ec == asio::error::operation_aborted || self->stopped_) {
|
1196
|
-
return;
|
1197
|
-
}
|
1198
|
-
self->last_active_ = std::chrono::steady_clock::now();
|
1199
|
-
if (ec) {
|
1200
|
-
if (stream_id != self->stream_->id()) {
|
1201
|
-
LOG_ERROR(R"({} ignore IO error while reading from the socket: {} ({}), old_id="{}", new_id="{}")",
|
1202
|
-
self->log_prefix_,
|
1203
|
-
ec.value(),
|
1204
|
-
ec.message(),
|
1205
|
-
stream_id,
|
1206
|
-
self->stream_->id());
|
1207
|
-
return;
|
1208
|
-
}
|
1209
|
-
LOG_ERROR(R"({} IO error while reading from the socket("{}"): {} ({}))",
|
1210
|
-
self->log_prefix_,
|
1211
|
-
self->stream_->id(),
|
1212
|
-
ec.value(),
|
1213
|
-
ec.message());
|
1214
|
-
return self->stop(retry_reason::socket_closed_while_in_flight);
|
1215
|
-
}
|
1216
|
-
self->parser_.feed(self->input_buffer_.data(), self->input_buffer_.data() + std::ptrdiff_t(bytes_transferred));
|
1217
|
-
|
1218
|
-
for (;;) {
|
1219
|
-
mcbp_message msg{};
|
1220
|
-
switch (self->parser_.next(msg)) {
|
1221
|
-
case mcbp_parser::result::ok:
|
1222
|
-
LOG_TRACE(
|
1223
|
-
"{} MCBP recv, opaque={}, {:n}", self->log_prefix_, msg.header.opaque, spdlog::to_hex(msg.header_data()));
|
1224
|
-
self->handler_->handle(std::move(msg));
|
1225
|
-
if (self->stopped_) {
|
1226
|
-
return;
|
1227
|
-
}
|
1228
|
-
break;
|
1229
|
-
case mcbp_parser::result::need_data:
|
1230
|
-
self->reading_ = false;
|
1231
|
-
if (!self->stopped_ && self->stream_->is_open()) {
|
1232
|
-
self->do_read();
|
1233
|
-
}
|
1234
|
-
return;
|
1235
|
-
case mcbp_parser::result::failure:
|
1236
|
-
return self->stop(retry_reason::kv_temporary_failure);
|
1237
|
-
}
|
1238
|
-
}
|
1239
|
-
});
|
1240
|
-
}
|
1241
|
-
|
1242
|
-
void do_write()
|
1243
|
-
{
|
1244
|
-
if (stopped_ || !stream_->is_open()) {
|
1245
|
-
return;
|
1246
|
-
}
|
1247
|
-
std::scoped_lock lock(writing_buffer_mutex_, output_buffer_mutex_);
|
1248
|
-
if (!writing_buffer_.empty() || output_buffer_.empty()) {
|
1249
|
-
return;
|
1250
|
-
}
|
1251
|
-
std::swap(writing_buffer_, output_buffer_);
|
1252
|
-
std::vector<asio::const_buffer> buffers;
|
1253
|
-
buffers.reserve(writing_buffer_.size());
|
1254
|
-
for (auto& buf : writing_buffer_) {
|
1255
|
-
buffers.emplace_back(asio::buffer(buf));
|
1256
|
-
}
|
1257
|
-
stream_->async_write(buffers, [self = shared_from_this()](std::error_code ec, std::size_t /*unused*/) {
|
1258
|
-
if (ec == asio::error::operation_aborted || self->stopped_) {
|
1259
|
-
return;
|
1260
|
-
}
|
1261
|
-
self->last_active_ = std::chrono::steady_clock::now();
|
1262
|
-
if (ec) {
|
1263
|
-
LOG_ERROR(R"({} IO error while writing to the socket("{}"): {} ({}))",
|
1264
|
-
self->log_prefix_,
|
1265
|
-
self->stream_->id(),
|
1266
|
-
ec.value(),
|
1267
|
-
ec.message());
|
1268
|
-
return self->stop(retry_reason::socket_closed_while_in_flight);
|
1269
|
-
}
|
1270
|
-
{
|
1271
|
-
std::scoped_lock inner_lock(self->writing_buffer_mutex_);
|
1272
|
-
self->writing_buffer_.clear();
|
1273
|
-
}
|
1274
|
-
self->do_write();
|
1275
|
-
self->do_read();
|
1276
|
-
});
|
1277
|
-
}
|
1278
|
-
|
1279
|
-
std::string client_id_;
|
1280
|
-
const std::string id_;
|
1281
|
-
asio::io_context& ctx_;
|
1282
|
-
asio::ip::tcp::resolver resolver_;
|
1283
|
-
std::unique_ptr<stream_impl> stream_;
|
1284
|
-
asio::steady_timer bootstrap_deadline_;
|
1285
|
-
asio::steady_timer connection_deadline_;
|
1286
|
-
asio::steady_timer retry_backoff_;
|
1287
|
-
couchbase::origin origin_;
|
1288
|
-
std::optional<std::string> bucket_name_;
|
1289
|
-
mcbp_parser parser_;
|
1290
|
-
std::shared_ptr<message_handler> handler_;
|
1291
|
-
utils::movable_function<void(std::error_code, const topology::configuration&)> bootstrap_handler_{};
|
1292
|
-
std::mutex command_handlers_mutex_{};
|
1293
|
-
std::map<uint32_t, utils::movable_function<void(std::error_code, retry_reason, io::mcbp_message&&)>> command_handlers_{};
|
1294
|
-
std::vector<std::function<void(const topology::configuration&)>> config_listeners_{};
|
1295
|
-
std::function<void(io::retry_reason)> on_stop_handler_{};
|
1296
|
-
|
1297
|
-
std::atomic_bool bootstrapped_{ false };
|
1298
|
-
std::atomic_bool stopped_{ false };
|
1299
|
-
bool authenticated_{ false };
|
1300
|
-
bool bucket_selected_{ false };
|
1301
|
-
bool supports_gcccp_{ true };
|
1302
|
-
bool retry_bootstrap_on_bucket_not_found_{ false };
|
1303
|
-
|
1304
|
-
std::atomic<std::uint32_t> opaque_{ 0 };
|
1305
|
-
|
1306
|
-
std::array<std::byte, 16384> input_buffer_{};
|
1307
|
-
std::vector<std::vector<std::byte>> output_buffer_{};
|
1308
|
-
std::vector<std::vector<std::byte>> pending_buffer_{};
|
1309
|
-
std::vector<std::vector<std::byte>> writing_buffer_{};
|
1310
|
-
std::mutex output_buffer_mutex_{};
|
1311
|
-
std::mutex pending_buffer_mutex_{};
|
1312
|
-
std::mutex writing_buffer_mutex_{};
|
1313
|
-
std::string bootstrap_hostname_{};
|
1314
|
-
std::string bootstrap_port_{};
|
1315
|
-
asio::ip::tcp::endpoint endpoint_{}; // connected endpoint
|
1316
|
-
std::string endpoint_address_{}; // cached string with endpoint address
|
1317
|
-
asio::ip::tcp::endpoint local_endpoint_{};
|
1318
|
-
std::string local_endpoint_address_{};
|
1319
|
-
asio::ip::tcp::resolver::results_type endpoints_;
|
1320
|
-
std::vector<protocol::hello_feature> supported_features_;
|
1321
|
-
std::optional<topology::configuration> config_;
|
1322
|
-
std::mutex config_mutex_{};
|
1323
|
-
std::atomic_bool configured_{ false };
|
1324
|
-
std::optional<error_map> error_map_;
|
1325
|
-
collection_cache collection_cache_;
|
1326
|
-
|
1327
|
-
std::atomic_bool reading_{ false };
|
1328
|
-
|
1329
|
-
std::string log_prefix_{};
|
1330
|
-
std::chrono::time_point<std::chrono::steady_clock> last_active_{};
|
1331
|
-
diag::endpoint_state state_{ diag::endpoint_state::disconnected };
|
1332
|
-
};
|
1333
|
-
} // namespace couchbase::io
|