Skip to content

Commit e29c3f5

Browse files
build(deps): bump the main group with 2 updates (#789)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
1 parent 59691fa commit e29c3f5

17 files changed

+122
-9
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
## [MAJOR.MINOR.PATCH] - YYYY-MM-DD
44

5+
- Add `Cassandra` field `userConfig.cassandra.read_request_timeout_in_ms`, type `integer`: How long the
6+
coordinator waits for read operations to complete before timing it out
7+
- Add `Cassandra` field `userConfig.cassandra.write_request_timeout_in_ms`, type `integer`: How long
8+
the coordinator waits for write requests to complete with at least one node in the local datacenter
9+
- Add `OpenSearch` field `userConfig.opensearch.knn_memory_circuit_breaker_enabled`, type `boolean`:
10+
Enable or disable KNN memory circuit breaker. Defaults to true
11+
- Add `OpenSearch` field `userConfig.opensearch.knn_memory_circuit_breaker_limit`, type `integer`: Maximum
12+
amount of memory that can be used for KNN index. Defaults to 50% of the JVM heap size
13+
- Change `PostgreSQL` field `userConfig.pg.log_line_prefix`: enum ~~`['%m [%p] %q[user=%u,db=%d,app=%a]
14+
', '%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h ', 'pid=%p,user=%u,db=%d,app=%a,client=%h ']`~~
15+
→ `['%m [%p] %q[user=%u,db=%d,app=%a] ', '%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h ',
16+
'pid=%p,user=%u,db=%d,app=%a,client=%h ', 'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q ']`
17+
518
## v0.23.0 - 2024-07-12
619

720
- Ignore `http.StatusBadRequest` on `ClickhouseGrant` deletion

api/v1alpha1/userconfig/service/cassandra/cassandra.go

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1alpha1/userconfig/service/cassandra/zz_generated.deepcopy.go

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1alpha1/userconfig/service/opensearch/opensearch.go

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1alpha1/userconfig/service/opensearch/zz_generated.deepcopy.go

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1alpha1/userconfig/service/pg/pg.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/aiven-operator-crds/templates/aiven.io_cassandras.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,21 @@ spec:
271271
service belong. Can be set only when creating the service.
272272
maxLength: 128
273273
type: string
274+
read_request_timeout_in_ms:
275+
description:
276+
How long the coordinator waits for read operations
277+
to complete before timing it out. 5 seconds by default.
278+
maximum: 10000
279+
minimum: 1000
280+
type: integer
281+
write_request_timeout_in_ms:
282+
description:
283+
How long the coordinator waits for write requests
284+
to complete with at least one node in the local datacenter.
285+
2 seconds by default.
286+
maximum: 10000
287+
minimum: 1000
288+
type: integer
274289
type: object
275290
cassandra_version:
276291
description: Cassandra version

charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,18 @@ spec:
707707
maximum: 2147483647
708708
minimum: 1
709709
type: integer
710+
knn_memory_circuit_breaker_enabled:
711+
description:
712+
Enable or disable KNN memory circuit breaker.
713+
Defaults to true.
714+
type: boolean
715+
knn_memory_circuit_breaker_limit:
716+
description:
717+
Maximum amount of memory that can be used for
718+
KNN index. Defaults to 50% of the JVM heap size.
719+
maximum: 100
720+
minimum: 3
721+
type: integer
710722
override_main_response_version:
711723
description:
712724
Compatibility mode sets OpenSearch to report

charts/aiven-operator-crds/templates/aiven.io_postgresqls.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,8 @@ spec:
522522
- "'pid=%p,user=%u,db=%d,app=%a,client=%h '"
523523
- "'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '"
524524
- "'%m [%p] %q[user=%u,db=%d,app=%a] '"
525+
- "'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q
526+
'"
525527
type: string
526528
log_min_duration_statement:
527529
description:

config/crd/bases/aiven.io_cassandras.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,21 @@ spec:
271271
service belong. Can be set only when creating the service.
272272
maxLength: 128
273273
type: string
274+
read_request_timeout_in_ms:
275+
description:
276+
How long the coordinator waits for read operations
277+
to complete before timing it out. 5 seconds by default.
278+
maximum: 10000
279+
minimum: 1000
280+
type: integer
281+
write_request_timeout_in_ms:
282+
description:
283+
How long the coordinator waits for write requests
284+
to complete with at least one node in the local datacenter.
285+
2 seconds by default.
286+
maximum: 10000
287+
minimum: 1000
288+
type: integer
274289
type: object
275290
cassandra_version:
276291
description: Cassandra version

config/crd/bases/aiven.io_opensearches.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,18 @@ spec:
707707
maximum: 2147483647
708708
minimum: 1
709709
type: integer
710+
knn_memory_circuit_breaker_enabled:
711+
description:
712+
Enable or disable KNN memory circuit breaker.
713+
Defaults to true.
714+
type: boolean
715+
knn_memory_circuit_breaker_limit:
716+
description:
717+
Maximum amount of memory that can be used for
718+
KNN index. Defaults to 50% of the JVM heap size.
719+
maximum: 100
720+
minimum: 3
721+
type: integer
710722
override_main_response_version:
711723
description:
712724
Compatibility mode sets OpenSearch to report

config/crd/bases/aiven.io_postgresqls.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,8 @@ spec:
522522
- "'pid=%p,user=%u,db=%d,app=%a,client=%h '"
523523
- "'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '"
524524
- "'%m [%p] %q[user=%u,db=%d,app=%a] '"
525+
- "'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q
526+
'"
525527
type: string
526528
log_min_duration_statement:
527529
description:

docs/docs/api-reference/cassandra.md

+2
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ cassandra configuration values.
229229
- [`batch_size_fail_threshold_in_kb`](#spec.userConfig.cassandra.batch_size_fail_threshold_in_kb-property){: name='spec.userConfig.cassandra.batch_size_fail_threshold_in_kb-property'} (integer, Minimum: 1, Maximum: 1000000). Fail any multiple-partition batch exceeding this value. 50kb (10x warn threshold) by default.
230230
- [`batch_size_warn_threshold_in_kb`](#spec.userConfig.cassandra.batch_size_warn_threshold_in_kb-property){: name='spec.userConfig.cassandra.batch_size_warn_threshold_in_kb-property'} (integer, Minimum: 1, Maximum: 1000000). Log a warning message on any multiple-partition batch size exceeding this value.5kb per batch by default.Caution should be taken on increasing the size of this thresholdas it can lead to node instability.
231231
- [`datacenter`](#spec.userConfig.cassandra.datacenter-property){: name='spec.userConfig.cassandra.datacenter-property'} (string, MaxLength: 128). Name of the datacenter to which nodes of this service belong. Can be set only when creating the service.
232+
- [`read_request_timeout_in_ms`](#spec.userConfig.cassandra.read_request_timeout_in_ms-property){: name='spec.userConfig.cassandra.read_request_timeout_in_ms-property'} (integer, Minimum: 1000, Maximum: 10000). How long the coordinator waits for read operations to complete before timing it out. 5 seconds by default.
233+
- [`write_request_timeout_in_ms`](#spec.userConfig.cassandra.write_request_timeout_in_ms-property){: name='spec.userConfig.cassandra.write_request_timeout_in_ms-property'} (integer, Minimum: 1000, Maximum: 10000). How long the coordinator waits for write requests to complete with at least one node in the local datacenter. 2 seconds by default.
232234

233235
### ip_filter {: #spec.userConfig.ip_filter }
234236

docs/docs/api-reference/opensearch.md

+2
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,8 @@ OpenSearch settings.
313313
- [`ism_history_max_docs`](#spec.userConfig.opensearch.ism_history_max_docs-property){: name='spec.userConfig.opensearch.ism_history_max_docs-property'} (integer, Minimum: 1). The maximum number of documents before rolling over the audit history index.
314314
- [`ism_history_rollover_check_period`](#spec.userConfig.opensearch.ism_history_rollover_check_period-property){: name='spec.userConfig.opensearch.ism_history_rollover_check_period-property'} (integer, Minimum: 1, Maximum: 2147483647). The time between rollover checks for the audit history index in hours.
315315
- [`ism_history_rollover_retention_period`](#spec.userConfig.opensearch.ism_history_rollover_retention_period-property){: name='spec.userConfig.opensearch.ism_history_rollover_retention_period-property'} (integer, Minimum: 1, Maximum: 2147483647). How long audit history indices are kept in days.
316+
- [`knn_memory_circuit_breaker_enabled`](#spec.userConfig.opensearch.knn_memory_circuit_breaker_enabled-property){: name='spec.userConfig.opensearch.knn_memory_circuit_breaker_enabled-property'} (boolean). Enable or disable KNN memory circuit breaker. Defaults to true.
317+
- [`knn_memory_circuit_breaker_limit`](#spec.userConfig.opensearch.knn_memory_circuit_breaker_limit-property){: name='spec.userConfig.opensearch.knn_memory_circuit_breaker_limit-property'} (integer, Minimum: 3, Maximum: 100). Maximum amount of memory that can be used for KNN index. Defaults to 50% of the JVM heap size.
316318
- [`override_main_response_version`](#spec.userConfig.opensearch.override_main_response_version-property){: name='spec.userConfig.opensearch.override_main_response_version-property'} (boolean). Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default is false.
317319
- [`plugins_alerting_filter_by_backend_roles`](#spec.userConfig.opensearch.plugins_alerting_filter_by_backend_roles-property){: name='spec.userConfig.opensearch.plugins_alerting_filter_by_backend_roles-property'} (boolean). Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false.
318320
- [`reindex_remote_whitelist`](#spec.userConfig.opensearch.reindex_remote_whitelist-property){: name='spec.userConfig.opensearch.reindex_remote_whitelist-property'} (array of strings, MaxItems: 32). Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.

docs/docs/api-reference/postgresql.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ postgresql.conf configuration values.
290290
- [`jit`](#spec.userConfig.pg.jit-property){: name='spec.userConfig.pg.jit-property'} (boolean). Controls system-wide use of Just-in-Time Compilation (JIT).
291291
- [`log_autovacuum_min_duration`](#spec.userConfig.pg.log_autovacuum_min_duration-property){: name='spec.userConfig.pg.log_autovacuum_min_duration-property'} (integer, Minimum: -1, Maximum: 2147483647). Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
292292
- [`log_error_verbosity`](#spec.userConfig.pg.log_error_verbosity-property){: name='spec.userConfig.pg.log_error_verbosity-property'} (string, Enum: `TERSE`, `DEFAULT`, `VERBOSE`). Controls the amount of detail written in the server log for each message that is logged.
293-
- [`log_line_prefix`](#spec.userConfig.pg.log_line_prefix-property){: name='spec.userConfig.pg.log_line_prefix-property'} (string, Enum: `'pid=%p,user=%u,db=%d,app=%a,client=%h '`, `'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '`, `'%m [%p] %q[user=%u,db=%d,app=%a] '`). Choose from one of the available log formats.
293+
- [`log_line_prefix`](#spec.userConfig.pg.log_line_prefix-property){: name='spec.userConfig.pg.log_line_prefix-property'} (string, Enum: `'pid=%p,user=%u,db=%d,app=%a,client=%h '`, `'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '`, `'%m [%p] %q[user=%u,db=%d,app=%a] '`, `'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q '`). Choose from one of the available log formats.
294294
- [`log_min_duration_statement`](#spec.userConfig.pg.log_min_duration_statement-property){: name='spec.userConfig.pg.log_min_duration_statement-property'} (integer, Minimum: -1, Maximum: 86400000). Log statements that take more than this number of milliseconds to run, -1 disables.
295295
- [`log_temp_files`](#spec.userConfig.pg.log_temp_files-property){: name='spec.userConfig.pg.log_temp_files-property'} (integer, Minimum: -1, Maximum: 2147483647). Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
296296
- [`max_files_per_process`](#spec.userConfig.pg.max_files_per_process-property){: name='spec.userConfig.pg.max_files_per_process-property'} (integer, Minimum: 1000, Maximum: 4096). PostgreSQL maximum number of files that can be open per process.

go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ go 1.22
55
require (
66
github.com/ClickHouse/clickhouse-go/v2 v2.26.0
77
github.com/aiven/aiven-go-client/v2 v2.23.1-0.20240708122045-b60dda2ba032
8-
github.com/aiven/go-api-schemas v1.78.0
9-
github.com/aiven/go-client-codegen v0.13.0
8+
github.com/aiven/go-api-schemas v1.79.0
9+
github.com/aiven/go-client-codegen v0.15.0
1010
github.com/dave/jennifer v1.7.0
1111
github.com/docker/go-units v0.5.0
1212
github.com/ghodss/yaml v1.0.0
1313
github.com/go-logr/logr v1.4.2
1414
github.com/google/go-cmp v0.6.0
15+
github.com/hashicorp/go-multierror v1.1.1
1516
github.com/kelseyhightower/envconfig v1.4.0
1617
github.com/liip/sheriff v0.12.0
1718
github.com/otiai10/copy v1.14.0
@@ -52,7 +53,6 @@ require (
5253
github.com/google/uuid v1.6.0 // indirect
5354
github.com/hashicorp/errwrap v1.1.0 // indirect
5455
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
55-
github.com/hashicorp/go-multierror v1.1.1 // indirect
5656
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
5757
github.com/hashicorp/go-version v1.6.0 // indirect
5858
github.com/imdario/mergo v0.3.12 // indirect

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ github.com/ClickHouse/clickhouse-go/v2 v2.26.0 h1:j4/y6NYaCcFkJwN/TU700ebW+nmsIy
3939
github.com/ClickHouse/clickhouse-go/v2 v2.26.0/go.mod h1:iDTViXk2Fgvf1jn2dbJd1ys+fBkdD1UMRnXlwmhijhQ=
4040
github.com/aiven/aiven-go-client/v2 v2.23.1-0.20240708122045-b60dda2ba032 h1:Z6yrLuINkO+Wc3aVf0atS9JmokB8D7+1lxmOXGBzGks=
4141
github.com/aiven/aiven-go-client/v2 v2.23.1-0.20240708122045-b60dda2ba032/go.mod h1:KdHfLIlIRZIfCSEBd39j1Q81jlSb6Nd+oCQKqERfnuA=
42-
github.com/aiven/go-api-schemas v1.78.0 h1:XAOfoP5kH3sevzLuVYqDHsUkbInouybjgWj0ugn+W1s=
43-
github.com/aiven/go-api-schemas v1.78.0/go.mod h1:FYR22WcKLisZ1CYqyyGk6XqNSyxfAUtaQd+P2ydwc5A=
44-
github.com/aiven/go-client-codegen v0.13.0 h1:fPB0D4Y/jp3IyfrwRLWeZ2Ipa2T97zkudJcnnGuHUys=
45-
github.com/aiven/go-client-codegen v0.13.0/go.mod h1:Sajbdpjn1/m5g2D6EDfiSnxl9pj9hxe8+hpG1CkCkhs=
42+
github.com/aiven/go-api-schemas v1.79.0 h1:V6H7XKbsgfwWWLBazj53ZiQygCZdMB9os2ZP5wvgzIw=
43+
github.com/aiven/go-api-schemas v1.79.0/go.mod h1:FYR22WcKLisZ1CYqyyGk6XqNSyxfAUtaQd+P2ydwc5A=
44+
github.com/aiven/go-client-codegen v0.15.0 h1:ZM2qboMC7mrvpMJbjyd5C71XxfHDjh7G285N+HwiFH4=
45+
github.com/aiven/go-client-codegen v0.15.0/go.mod h1:Sajbdpjn1/m5g2D6EDfiSnxl9pj9hxe8+hpG1CkCkhs=
4646
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
4747
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
4848
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=

0 commit comments

Comments
 (0)