couchbase 3.8.0-aarch64-linux → 3.8.2-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/couchbase/3.2/libcouchbase.so +0 -0
- data/lib/couchbase/3.3/libcouchbase.so +0 -0
- data/lib/couchbase/3.4/libcouchbase.so +0 -0
- data/lib/couchbase/4.0/libcouchbase.so +0 -0
- data/lib/couchbase/cluster.rb +16 -14
- data/lib/couchbase/datastructures/couchbase_list.rb +1 -0
- data/lib/couchbase/datastructures/couchbase_map.rb +1 -0
- data/lib/couchbase/datastructures/couchbase_queue.rb +1 -0
- data/lib/couchbase/datastructures/couchbase_set.rb +1 -0
- data/lib/couchbase/errors.rb +1 -1
- data/lib/couchbase/json_transcoder.rb +1 -1
- data/lib/couchbase/options.rb +9 -4
- data/lib/couchbase/protostellar/client.rb +0 -2
- data/lib/couchbase/protostellar/cluster.rb +4 -0
- data/lib/couchbase/protostellar/generated/admin/analytics/v1/analytics_pb.rb +54 -0
- data/lib/couchbase/protostellar/generated/admin/analytics/v1/analytics_services_pb.rb +51 -0
- data/lib/couchbase/protostellar/generated/admin/bucket/v1/bucket_pb.rb +5 -24
- data/lib/couchbase/protostellar/generated/admin/bucket/v1/bucket_services_pb.rb +16 -0
- data/lib/couchbase/protostellar/generated/admin/collection/v1/collection_pb.rb +5 -24
- data/lib/couchbase/protostellar/generated/admin/collection/v1/collection_services_pb.rb +16 -0
- data/lib/couchbase/protostellar/generated/admin/query/v1/query_pb.rb +5 -24
- data/lib/couchbase/protostellar/generated/admin/query/v1/query_services_pb.rb +18 -0
- data/lib/couchbase/protostellar/generated/admin/search/v1/search_pb.rb +2 -23
- data/lib/couchbase/protostellar/generated/admin/search/v1/search_services_pb.rb +23 -0
- data/lib/couchbase/protostellar/generated/analytics/v1/analytics_pb.rb +4 -25
- data/lib/couchbase/protostellar/generated/analytics/v1/analytics_services_pb.rb +10 -0
- data/lib/couchbase/protostellar/generated/internal/hooks/v1/hooks_pb.rb +6 -25
- data/lib/couchbase/protostellar/generated/internal/hooks/v1/hooks_services_pb.rb +18 -0
- data/lib/couchbase/protostellar/generated/internal/xdcr/v1/xdcr_pb.rb +46 -0
- data/lib/couchbase/protostellar/generated/internal/xdcr/v1/xdcr_services_pb.rb +56 -0
- data/lib/couchbase/protostellar/generated/kv/v1/kv_pb.rb +3 -26
- data/lib/couchbase/protostellar/generated/kv/v1/kv_services_pb.rb +47 -0
- data/lib/couchbase/protostellar/generated/query/v1/query_pb.rb +4 -26
- data/lib/couchbase/protostellar/generated/query/v1/query_services_pb.rb +10 -0
- data/lib/couchbase/protostellar/generated/routing/v2/routing_pb.rb +26 -0
- data/lib/couchbase/protostellar/generated/routing/v2/routing_services_pb.rb +43 -0
- data/lib/couchbase/protostellar/generated/search/v1/search_pb.rb +5 -26
- data/lib/couchbase/protostellar/generated/search/v1/search_services_pb.rb +11 -0
- data/lib/couchbase/protostellar/generated/transactions/v1/transactions_pb.rb +2 -23
- data/lib/couchbase/protostellar/generated/transactions/v1/transactions_services_pb.rb +30 -0
- data/lib/couchbase/protostellar/generated/view/v1/view_pb.rb +2 -23
- data/lib/couchbase/protostellar/generated/view/v1/view_services_pb.rb +9 -0
- data/lib/couchbase/protostellar/request_generator/admin/collection.rb +4 -2
- data/lib/couchbase/protostellar/request_generator/admin/query.rb +2 -0
- data/lib/couchbase/protostellar/request_generator/kv.rb +1 -1
- data/lib/couchbase/protostellar/scope.rb +4 -0
- data/lib/couchbase/utils/observability.rb +10 -4
- data/lib/couchbase/version.rb +1 -1
- metadata +11 -7
- data/lib/couchbase/protostellar/generated/routing/v1/routing_pb.rb +0 -52
- data/lib/couchbase/protostellar/generated/routing/v1/routing_services_pb.rb +0 -30
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
require "couchbase/tracing/request_span"
|
|
18
18
|
require "couchbase/tracing/request_tracer"
|
|
19
|
+
require "couchbase/tracing/noop_tracer"
|
|
20
|
+
require "couchbase/metrics/noop_meter"
|
|
19
21
|
|
|
20
22
|
require_relative "observability_constants"
|
|
21
23
|
|
|
@@ -30,7 +32,7 @@ module Couchbase
|
|
|
30
32
|
attr_accessor :tracer
|
|
31
33
|
attr_accessor :meter
|
|
32
34
|
|
|
33
|
-
def initialize(backend
|
|
35
|
+
def initialize(backend: nil, tracer: nil, meter: nil)
|
|
34
36
|
@backend = backend
|
|
35
37
|
@tracer = tracer
|
|
36
38
|
@meter = meter
|
|
@@ -67,10 +69,14 @@ module Couchbase
|
|
|
67
69
|
def initialize(backend, op_name, parent_span, receiver, tracer, meter)
|
|
68
70
|
@tracer = tracer
|
|
69
71
|
@meter = meter
|
|
72
|
+
@tracer = Tracing::NoopTracer.new if @tracer.nil?
|
|
73
|
+
@meter = Metrics::NoopMeter.new if @meter.nil?
|
|
70
74
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
75
|
+
unless backend.nil?
|
|
76
|
+
cluster_labels = backend.cluster_labels
|
|
77
|
+
@cluster_name = cluster_labels[:cluster_name]
|
|
78
|
+
@cluster_uuid = cluster_labels[:cluster_uuid]
|
|
79
|
+
end
|
|
74
80
|
|
|
75
81
|
@op_span = create_span(op_name, parent_span)
|
|
76
82
|
@meter_attributes = create_meter_attributes
|
data/lib/couchbase/version.rb
CHANGED
|
@@ -21,5 +21,5 @@ module Couchbase
|
|
|
21
21
|
# $ ruby -rcouchbase -e 'pp Couchbase::VERSION'
|
|
22
22
|
# {:sdk=>"3.4.0", :ruby_abi=>"3.1.0", :revision=>"416fe68e6029ec8a4c40611cf6e6b30d3b90d20f"}
|
|
23
23
|
VERSION = {} unless defined?(VERSION) # rubocop:disable Style/MutableConstant
|
|
24
|
-
VERSION.update(:sdk => "3.8.
|
|
24
|
+
VERSION.update(:sdk => "3.8.2")
|
|
25
25
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: couchbase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.8.
|
|
4
|
+
version: 3.8.2
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Sergey Avseyev
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-09-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: concurrent-ruby
|
|
@@ -104,6 +104,8 @@ files:
|
|
|
104
104
|
- lib/couchbase/protostellar/connect_options.rb
|
|
105
105
|
- lib/couchbase/protostellar/error_handling.rb
|
|
106
106
|
- lib/couchbase/protostellar/generated.rb
|
|
107
|
+
- lib/couchbase/protostellar/generated/admin/analytics/v1/analytics_pb.rb
|
|
108
|
+
- lib/couchbase/protostellar/generated/admin/analytics/v1/analytics_services_pb.rb
|
|
107
109
|
- lib/couchbase/protostellar/generated/admin/bucket/v1/bucket_pb.rb
|
|
108
110
|
- lib/couchbase/protostellar/generated/admin/bucket/v1/bucket_services_pb.rb
|
|
109
111
|
- lib/couchbase/protostellar/generated/admin/collection/v1/collection_pb.rb
|
|
@@ -116,12 +118,14 @@ files:
|
|
|
116
118
|
- lib/couchbase/protostellar/generated/analytics/v1/analytics_services_pb.rb
|
|
117
119
|
- lib/couchbase/protostellar/generated/internal/hooks/v1/hooks_pb.rb
|
|
118
120
|
- lib/couchbase/protostellar/generated/internal/hooks/v1/hooks_services_pb.rb
|
|
121
|
+
- lib/couchbase/protostellar/generated/internal/xdcr/v1/xdcr_pb.rb
|
|
122
|
+
- lib/couchbase/protostellar/generated/internal/xdcr/v1/xdcr_services_pb.rb
|
|
119
123
|
- lib/couchbase/protostellar/generated/kv/v1/kv_pb.rb
|
|
120
124
|
- lib/couchbase/protostellar/generated/kv/v1/kv_services_pb.rb
|
|
121
125
|
- lib/couchbase/protostellar/generated/query/v1/query_pb.rb
|
|
122
126
|
- lib/couchbase/protostellar/generated/query/v1/query_services_pb.rb
|
|
123
|
-
- lib/couchbase/protostellar/generated/routing/
|
|
124
|
-
- lib/couchbase/protostellar/generated/routing/
|
|
127
|
+
- lib/couchbase/protostellar/generated/routing/v2/routing_pb.rb
|
|
128
|
+
- lib/couchbase/protostellar/generated/routing/v2/routing_services_pb.rb
|
|
125
129
|
- lib/couchbase/protostellar/generated/search/v1/search_pb.rb
|
|
126
130
|
- lib/couchbase/protostellar/generated/search/v1/search_services_pb.rb
|
|
127
131
|
- lib/couchbase/protostellar/generated/transactions/v1/transactions_pb.rb
|
|
@@ -192,9 +196,9 @@ metadata:
|
|
|
192
196
|
homepage_uri: https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html
|
|
193
197
|
bug_tracker_uri: https://jira.issues.couchbase.com/browse/RCBC
|
|
194
198
|
mailing_list_uri: https://www.couchbase.com/forums/c/ruby-sdk
|
|
195
|
-
source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.8.
|
|
196
|
-
changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.8.
|
|
197
|
-
documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.8.
|
|
199
|
+
source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.8.2
|
|
200
|
+
changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.8.2
|
|
201
|
+
documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.8.2/index.html
|
|
198
202
|
github_repo: https://github.com/couchbase/couchbase-ruby-client
|
|
199
203
|
rubygems_mfa_required: 'true'
|
|
200
204
|
rdoc_options:
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: couchbase/routing/v1/routing.proto
|
|
4
|
-
|
|
5
|
-
require 'google/protobuf'
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
descriptor_data = "\n\"couchbase/routing/v1/routing.proto\x12\x14\x63ouchbase.routing.v1\"D\n\x0fRoutingEndpoint\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0cserver_group\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\"[\n\x13\x44\x61taRoutingEndpoint\x12\x14\n\x0c\x65ndpoint_idx\x18\x01 \x01(\r\x12\x16\n\x0elocal_vbuckets\x18\x02 \x03(\r\x12\x16\n\x0egroup_vbuckets\x18\x03 \x03(\r\"p\n\x1aVbucketDataRoutingStrategy\x12<\n\tendpoints\x18\x01 \x03(\x0b\x32).couchbase.routing.v1.DataRoutingEndpoint\x12\x14\n\x0cnum_vbuckets\x18\x03 \x01(\r\",\n\x14QueryRoutingEndpoint\x12\x14\n\x0c\x65ndpoint_idx\x18\x01 \x01(\r\"M\n\x0cQueryRouting\x12=\n\tendpoints\x18\x01 \x03(\x0b\x32*.couchbase.routing.v1.QueryRoutingEndpoint\",\n\x14ViewsRoutingEndpoint\x12\x14\n\x0c\x65ndpoint_idx\x18\x01 \x01(\r\"M\n\x0cViewsRouting\x12=\n\tendpoints\x18\x01 \x03(\x0b\x32*.couchbase.routing.v1.ViewsRoutingEndpoint\"?\n\x13WatchRoutingRequest\x12\x18\n\x0b\x62ucket_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_bucket_name\"\xe8\x02\n\x14WatchRoutingResponse\x12\x10\n\x08revision\x18\x01 \x03(\x04\x12\x38\n\tendpoints\x18\x02 \x03(\x0b\x32%.couchbase.routing.v1.RoutingEndpoint\x12P\n\x14vbucket_data_routing\x18\x03 \x01(\x0b\x32\x30.couchbase.routing.v1.VbucketDataRoutingStrategyH\x00\x12>\n\rquery_routing\x18\x04 \x01(\x0b\x32\".couchbase.routing.v1.QueryRoutingH\x01\x88\x01\x01\x12>\n\rviews_routing\x18\x05 \x01(\x0b\x32\".couchbase.routing.v1.ViewsRoutingH\x02\x88\x01\x01\x42\x0e\n\x0c\x64\x61ta_routingB\x10\n\x0e_query_routingB\x10\n\x0e_views_routing2{\n\x0eRoutingService\x12i\n\x0cWatchRouting\x12).couchbase.routing.v1.WatchRoutingRequest\x1a*.couchbase.routing.v1.WatchRoutingResponse\"\x00\x30\x01\x42\xf8\x01\n,com.couchbase.client.protostellar.routing.v1P\x01ZBgithub.com/couchbase/goprotostellar/genproto/routing_v1;routing_v1\xaa\x02!Couchbase.Protostellar.Routing.V1\xca\x02+Couchbase\\Protostellar\\Generated\\Routing\\V1\xea\x02/Couchbase::Protostellar::Generated::Routing::V1b\x06proto3"
|
|
9
|
-
|
|
10
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
-
|
|
12
|
-
begin
|
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
|
14
|
-
rescue TypeError => e
|
|
15
|
-
# Compatibility code: will be removed in the next major version.
|
|
16
|
-
require 'google/protobuf/descriptor_pb'
|
|
17
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
18
|
-
parsed.clear_dependency
|
|
19
|
-
serialized = parsed.class.encode(parsed)
|
|
20
|
-
file = pool.add_serialized_file(serialized)
|
|
21
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
22
|
-
imports = [
|
|
23
|
-
]
|
|
24
|
-
imports.each do |type_name, expected_filename|
|
|
25
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
26
|
-
if import_file.name != expected_filename
|
|
27
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
31
|
-
warn "This will become an error in the next major version."
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
module Couchbase
|
|
35
|
-
module Protostellar
|
|
36
|
-
module Generated
|
|
37
|
-
module Routing
|
|
38
|
-
module V1
|
|
39
|
-
RoutingEndpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.routing.v1.RoutingEndpoint").msgclass
|
|
40
|
-
DataRoutingEndpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.routing.v1.DataRoutingEndpoint").msgclass
|
|
41
|
-
VbucketDataRoutingStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.routing.v1.VbucketDataRoutingStrategy").msgclass
|
|
42
|
-
QueryRoutingEndpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.routing.v1.QueryRoutingEndpoint").msgclass
|
|
43
|
-
QueryRouting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.routing.v1.QueryRouting").msgclass
|
|
44
|
-
ViewsRoutingEndpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.routing.v1.ViewsRoutingEndpoint").msgclass
|
|
45
|
-
ViewsRouting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.routing.v1.ViewsRouting").msgclass
|
|
46
|
-
WatchRoutingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.routing.v1.WatchRoutingRequest").msgclass
|
|
47
|
-
WatchRoutingResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.routing.v1.WatchRoutingResponse").msgclass
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: couchbase/routing/v1/routing.proto for package 'Couchbase.Protostellar.Generated.Routing.V1'
|
|
3
|
-
|
|
4
|
-
require 'grpc'
|
|
5
|
-
require 'couchbase/protostellar/generated/routing/v1/routing_pb'
|
|
6
|
-
|
|
7
|
-
module Couchbase
|
|
8
|
-
module Protostellar
|
|
9
|
-
module Generated
|
|
10
|
-
module Routing
|
|
11
|
-
module V1
|
|
12
|
-
module RoutingService
|
|
13
|
-
class Service
|
|
14
|
-
|
|
15
|
-
include ::GRPC::GenericService
|
|
16
|
-
|
|
17
|
-
self.marshal_class_method = :encode
|
|
18
|
-
self.unmarshal_class_method = :decode
|
|
19
|
-
self.service_name = 'couchbase.routing.v1.RoutingService'
|
|
20
|
-
|
|
21
|
-
rpc :WatchRouting, ::Couchbase::Protostellar::Generated::Routing::V1::WatchRoutingRequest, stream(::Couchbase::Protostellar::Generated::Routing::V1::WatchRoutingResponse)
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
Stub = Service.rpc_stub_class
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|