-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: tools-2616 tools-2648 support server 6.4 configs #15
Merged
Merged
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3558aed
feat: support server 6.4 configs
dwelch-spike 0be8746
ci: add allowed error to server64 test
dwelch-spike 1ac3741
ci: use docker CLI to get logs
dwelch-spike d1cf644
ci: don't hide feature key version errors
dwelch-spike 159bb02
fix: parse sindex-type from asconf
dwelch-spike 3add720
write sindex-type as a typed section
dwelch-spike 5cd0353
bump management lib version
dwelch-spike 5f1857a
test colon delimited secrets-address-port
dwelch-spike File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"Source":"testdata/cases/server64/server64.conf","Destination":"testdata/cases/server64/server64-res-.yaml","Expected":"testdata/cases/server64/server64.yaml","Arguments":["convert","--aerospike-version","6.4.0.1","--format","asconfig","--output","testdata/cases/server64/server64-res-.yaml"],"SkipServerTest":false,"ServerErrorAllowList":["each of: /proc/sys/vm/dirty_bytes"]}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
|
||
service { | ||
user root | ||
group root | ||
pidfile /dummy/file/path1 | ||
proto-fd-max 15000 | ||
|
||
secrets-address-port test_dns_name 4000 127.0.0.1 | ||
secrets-tls-context tlscontext | ||
secrets-uds-path /test/path/socket | ||
} | ||
|
||
logging { | ||
|
||
file /dummy/file/path2 { | ||
context any info | ||
} | ||
} | ||
|
||
network { | ||
service { | ||
address any | ||
port 3000 | ||
} | ||
|
||
heartbeat { | ||
mode multicast | ||
multicast-group 127.0.0.1 | ||
port 9918 | ||
|
||
|
||
|
||
|
||
interval 150 | ||
timeout 10 | ||
} | ||
|
||
fabric { | ||
port 3001 | ||
} | ||
|
||
info { | ||
port 3003 | ||
} | ||
} | ||
|
||
namespace ns1 { | ||
replication-factor 2 | ||
memory-size 4G | ||
|
||
index-type flash { | ||
mount /dummy/mount/point1 /test/mount2 | ||
mounts-high-water-pct 30 | ||
mounts-size-limit 10G | ||
} | ||
|
||
storage-engine device { | ||
|
||
device /dummy/device1 | ||
device /dummy/device2 | ||
|
||
|
||
write-block-size 128K | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
logging: | ||
- any: info | ||
name: /dummy/file/path2 | ||
namespaces: | ||
- index-type: | ||
mounts: | ||
- /dummy/mount/point1 /test/mount2 | ||
mounts-high-water-pct: 30 | ||
mounts-size-limit: 10737418240 | ||
type: flash | ||
memory-size: 4294967296 | ||
name: ns1 | ||
replication-factor: 2 | ||
storage-engine: | ||
devices: | ||
- /dummy/device1 | ||
- /dummy/device2 | ||
type: device | ||
write-block-size: 131072 | ||
network: | ||
fabric: | ||
port: 3001 | ||
heartbeat: | ||
interval: 150 | ||
mode: multicast | ||
multicast-groups: | ||
- 127.0.0.1 | ||
port: 9918 | ||
timeout: 10 | ||
info: | ||
port: 3003 | ||
service: | ||
addresses: | ||
- any | ||
port: 3000 | ||
service: | ||
group: root | ||
pidfile: /dummy/file/path1 | ||
proto-fd-max: 15000 | ||
secrets-address-port: test_dns_name 4000 127.0.0.1 | ||
secrets-tls-context: tlscontext | ||
secrets-uds-path: /test/path/socket | ||
user: root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"TestedVersion":"6.4.0.1","OriginallyUsedVersion":"6.4.0.1"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"Source":"testdata/cases/server64/server64.yaml","Destination":"testdata/cases/server64/server64-res-.conf","Expected":"testdata/cases/server64/server64.conf","Arguments":["convert","--aerospike-version","6.4.0.1","--format","yaml","--output","testdata/cases/server64/server64-res-.conf"],"SkipServerTest":false,"ServerErrorAllowList":["each of: /proc/sys/vm/dirty_bytes"]}] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be good to test
sindex-type flash
too since that is new in 6.4There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good suggestion, sindex-type wasn't being parsed, I've added it to the management lib and this test.