mongo 2.16.0.alpha1 → 2.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/mongo/version.rb +1 -1
- data/spec/runners/unified/support_operations.rb +10 -2
- data/spec/shared/lib/mrss/cluster_config.rb +6 -1
- data/spec/shared/share/Dockerfile.erb +3 -3
- data/spec/support/spec_config.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1044 -1044
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 803953b133578a0014b611609e6b334196ebe25484ee4db3fc3299cf1911445f
|
4
|
+
data.tar.gz: 368a07676afa5d71f41e86b9a288b4691f99b0549d041d87d6c4a8cf771d6ff5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd6d240f340e8ea904028bf7d3a9cc2ef6ee6d0e54d181a45c2e083f8e71dc29fab942d265425f5eeb98c0e5f81786f8d0ade460e90ffe2da7af69038f22155f
|
7
|
+
data.tar.gz: 4474efb5b33f984b4900bd702f05d1c012b5827b09b33281da60c9e07f3c416953292d2d2e9b463ed3c015f8a5e607de9da9aafcf8452b9568373dae49dbd880
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/mongo/version.rb
CHANGED
@@ -208,12 +208,20 @@ module Unified
|
|
208
208
|
else
|
209
209
|
raise
|
210
210
|
end
|
211
|
+
rescue Interrupt
|
212
|
+
raise
|
211
213
|
rescue => e
|
212
|
-
if
|
214
|
+
if store_failures
|
215
|
+
STDERR.puts "Error: #{e.class}: #{e} (reporting as failure)"
|
216
|
+
entities.get(:failure_list, store_failures) << {
|
217
|
+
error: "#{e.class}: #{e}",
|
218
|
+
time: Time.now.to_f,
|
219
|
+
}
|
220
|
+
elsif store_errors
|
213
221
|
STDERR.puts "Error: #{e.class}: #{e}"
|
214
222
|
entities.get(:error_list, store_errors) << {
|
215
223
|
error: "#{e.class}: #{e}",
|
216
|
-
|
224
|
+
time: Time.now.to_f,
|
217
225
|
}
|
218
226
|
else
|
219
227
|
raise
|
@@ -209,7 +209,12 @@ module Mrss
|
|
209
209
|
@server_version = build_info['version']
|
210
210
|
@enterprise = build_info['modules'] && build_info['modules'].include?('enterprise')
|
211
211
|
|
212
|
-
@server_parameters =
|
212
|
+
@server_parameters = begin
|
213
|
+
client.use(:admin).command(getParameter: '*').first
|
214
|
+
rescue => e
|
215
|
+
STDERR.puts("WARNING: Failed to obtain server parameters: #{e.class}: #{e.message}")
|
216
|
+
{}
|
217
|
+
end
|
213
218
|
|
214
219
|
if !sharded_ish? && short_server_version >= '3.4'
|
215
220
|
rv = @server_parameters['featureCompatibilityVersion']
|
@@ -55,7 +55,7 @@ FROM <%= base_image %>
|
|
55
55
|
# Ruby runtime dependencies: libyaml-0-2
|
56
56
|
# Compiling ruby libraries: gcc make
|
57
57
|
# Compiling pyhton packages: python2.7-dev
|
58
|
-
# JRuby: openjdk-8-
|
58
|
+
# JRuby: openjdk-8-jdk-headless
|
59
59
|
# Server dependencies: libsnmp30 libcurl3/libcurl4
|
60
60
|
# Determining OS we are running on: lsb-release
|
61
61
|
# Load balancer testing: haproxy
|
@@ -104,11 +104,11 @@ FROM <%= base_image %>
|
|
104
104
|
<% end %>
|
105
105
|
|
106
106
|
<% if distro =~ /debian10/ %>
|
107
|
-
<% packages << 'openjdk-11-
|
107
|
+
<% packages << 'openjdk-11-jdk-headless' %>
|
108
108
|
<% elsif distro =~ /ubuntu1404/ %>
|
109
109
|
# Ubuntu 14.04 only has openjdk 7, this is too old to be useful
|
110
110
|
<% else %>
|
111
|
-
<% packages << 'openjdk-8-
|
111
|
+
<% packages << 'openjdk-8-jdk-headless' %>
|
112
112
|
<% end %>
|
113
113
|
|
114
114
|
# ubuntu1404, ubuntu1604: libcurl3
|
data/spec/support/spec_config.rb
CHANGED
@@ -13,7 +13,7 @@ class SpecConfig
|
|
13
13
|
@uri_options = {}
|
14
14
|
@ruby_options = {}
|
15
15
|
if ENV['MONGODB_URI']
|
16
|
-
@mongodb_uri = Mongo::URI.
|
16
|
+
@mongodb_uri = Mongo::URI.get(ENV['MONGODB_URI'])
|
17
17
|
@uri_options = Mongo::Options::Mapper.transform_keys_to_symbols(@mongodb_uri.uri_options)
|
18
18
|
if ENV['TOPOLOGY'] == 'load-balanced'
|
19
19
|
@addresses = @mongodb_uri.servers
|
data.tar.gz.sig
CHANGED
Binary file
|