Skip to content

Commit

Permalink
fix: tools-2671 Server7 schema fixes (#22)
Browse files Browse the repository at this point in the history
* fix: update management lib, add server7.0 new configs
  • Loading branch information
dwelch-spike authored Nov 6, 2023
1 parent 85acaba commit 74ba302
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/aerospike/asconfig
go 1.20

require (
github.com/aerospike/aerospike-management-lib v0.0.0-20231025224657-765f71b4994d
github.com/aerospike/aerospike-management-lib v0.0.0-20231106202816-b2438dbb7e03
github.com/bombsimon/logrusr/v4 v4.0.0
github.com/docker/docker v24.0.6+incompatible
github.com/go-logr/logr v1.2.4
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ github.com/aerospike/aerospike-management-lib v0.0.0-20231025222637-439d643badb8
github.com/aerospike/aerospike-management-lib v0.0.0-20231025222637-439d643badb8/go.mod h1:O4v2oGl4VjG9KwYJoSVEwZXv1PUB4ioKAsrm2tczJPQ=
github.com/aerospike/aerospike-management-lib v0.0.0-20231025224657-765f71b4994d h1:WqKtqOqdZ41/WvbPV/3tGa4KNXZOOTdhwz/K1+P2CuI=
github.com/aerospike/aerospike-management-lib v0.0.0-20231025224657-765f71b4994d/go.mod h1:O4v2oGl4VjG9KwYJoSVEwZXv1PUB4ioKAsrm2tczJPQ=
github.com/aerospike/aerospike-management-lib v0.0.0-20231106202816-b2438dbb7e03 h1:Od7oCSBCTfpRmk73fbNGXA53U1in38iNSklCEwMMZFc=
github.com/aerospike/aerospike-management-lib v0.0.0-20231106202816-b2438dbb7e03/go.mod h1:O4v2oGl4VjG9KwYJoSVEwZXv1PUB4ioKAsrm2tczJPQ=
github.com/bombsimon/logrusr/v4 v4.0.0 h1:Pm0InGphX0wMhPqC02t31onlq9OVyJ98eP/Vh63t1Oo=
github.com/bombsimon/logrusr/v4 v4.0.0/go.mod h1:pjfHC5e59CvjTBIU3V3sGhFWFAnsnhOR03TRc6im0l8=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
Expand Down
2 changes: 1 addition & 1 deletion schema/schemas
7 changes: 7 additions & 0 deletions testdata/cases/server70/server70.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ service {

debug-allocations false
poison-allocations false
quarantine-allocations 100

user root
group root
Expand Down Expand Up @@ -72,6 +73,12 @@ namespace ns1 {
stop-writes-avail-pct 20
data-size 32G
}

nsup-period 2048

set s1 {
default-ttl 25D
}
}

namespace ns2 {
Expand Down
5 changes: 5 additions & 0 deletions testdata/cases/server70/server70.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ namespaces:
mounts-budget: 10737418240
type: pmem
name: ns1
nsup-period: 2048
replication-factor: 2
sets:
- default-ttl: 2160000
name: s1
sindex-type:
evict-mounts-pct: 80
mounts:
Expand Down Expand Up @@ -80,6 +84,7 @@ service:
pidfile: /dummy/file/path1
poison-allocations: false
proto-fd-max: 15000
quarantine-allocations: 100
secrets-address-port: test_dns_name:4000:127.0.0.1
secrets-tls-context: tlscontext
secrets-uds-path: /test/path/socket
Expand Down

0 comments on commit 74ba302

Please sign in to comment.