-
Notifications
You must be signed in to change notification settings - Fork 309
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
DAOS-14909 pool: property for rdb svc_ops KVS entry max age #13639
Conversation
Signed-off-by: Kenneth Cain <[email protected]>
- DAOS_MD_OPS_AGE_SEC environment variable to specify a maximum age of svc_ops KVS entries (if default 300 seconds is insufficient). - test-only pool property "svc_ops_enabled" that can take on the boolean values 0 (disabled) or 1 (enabled). So that tests may create pools without the duplicate operations detection feature. Signed-off-by: Kenneth Cain <[email protected]>
Signed-off-by: Kenneth Cain <[email protected]>
Signed-off-by: Kenneth Cain <[email protected]>
since co_op_retry() is taking about a minute longer due to several raft elections called as part of the test. Test-tag: test_daos_container Skip-unit-tests: true Skip-fault-injection-test: true Signed-off-by: Kenneth Cain <[email protected]>
Signed-off-by: Kenneth Cain <[email protected]>
Bug-tracker data: |
2d7a3b7
to
e76ac2f
Compare
Test stage Unit Test on EL 8.8 completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-13639/2/testReport/ |
e76ac2f
to
c5b351b
Compare
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-13639/3/testReport/ |
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-13639/3/execution/node/1187/log |
Features: pool
To specify the maximum age of an entry in the svc_ops KVS (that is within rdb, and used for duplicate operation detection), this change introduces a pool property, DAOS_PROP_PO_SVC_OPS_ENTRY_AGE. This replaces the previous engine environment variable interface. The property may be specified during pool create and is then immutable. The default max age is 300 seconds, with a valid range of 150-600. Features: pool Signed-off-by: Kenneth Cain <[email protected]>
a2ab43c
to
fb948e4
Compare
Features: pool
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.
Go changes LGTM
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.
Looks good to me, just a note that it would be good to add some unit test cases for the new property. We haven't been as diligent as we should have been about insisting on these when new properties are added.
@@ -120,6 +120,31 @@ func PoolProperties() PoolPropertyMap { | |||
valueMarshaler: numericMarshaler, | |||
}, | |||
}, | |||
"svc_ops_entry_age": { |
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.
Would be a good idea to add some test cases for this to TestControl_PoolProperties. Looks like the svc_ops_enabled
property could use some, too.
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.
I have a separate PR with some candidate unit test cases for these two new properties, #13676
To specify the maximum age of an entry in the svc_ops KVS (that is within rdb, and used for duplicate operation detection), this change introduces a pool property, DAOS_PROP_PO_SVC_OPS_ENTRY_AGE. This replaces the previous engine environment variable interface. The property may be specified during pool create and is then immutable. The default max age is 300 seconds, with a valid range of 150-600. #Pragmas from previous commit message: Skip-checkpatch: true Skip-python-bandit: true Skip-build: true Quick-build: true Quick-Functional: true Allow-unstable-test: true #RPM-test-version: version[-release] #RPM-test-version: 2.5.100 # VM1-label: ci_vm1 # Ubuntu-VM9-label: ci_vm9 # Leap15-VM9-label: ci_vm9 # EL8-VM9-label: ci_vm9 # HW-medium-label: ci_nvme5 # HW-large-label: ci_nvme9 Signed-off-by: Kenneth Cain <[email protected]>
To specify the maximum age of an entry in the svc_ops KVS (that is within rdb, and used for duplicate operation detection), this change introduces a pool property, DAOS_PROP_PO_SVC_OPS_ENTRY_AGE. This replaces the previous engine environment variable interface. The property may be specified during pool create and is then immutable. The default max age is 300 seconds, with a valid range of 150-600.
Features: pool
Before requesting gatekeeper:
Features:
(orTest-tag*
) commit pragma was used or there is a reason documented that there are no appropriate tags for this PR.Gatekeeper: