Repository navigation
rgw/es: require both major and minor in ES version parsing - #70007
Conversation
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
16 similar comments
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
parse_version() only checked sscanf() < 0 as failure, but sscanf returns the count of assigned fields, so a partial match leaves major/minor uninitialized and pollutes later version checks. Require both fields and return EINVAL otherwise. Signed-off-by: Sun Yuechi <[email protected]>
378febe to
8d47670
Compare
|
jenkins make check arm64 |
2 similar comments
|
jenkins make check arm64 |
|
jenkins make check arm64 |
|
ok to test |
|
jenkins test make check arm64 |
The new snapshot brings in these fixes: - osd/PeeringState: fix the divergence check against olog.head (ceph/ceph#70149) - osd: assert OI_ATTR is present in rollback_setattrs (ceph/ceph#70965) - osdc: fix ReplicaSplitOp chunk distribution, reassembly and small multi-op reads (ceph/ceph#70207) - erasure-code/isa: default the technique when the profile has none (ceph/ceph#72215) - mount.ceph: report kernels without aes256k key support (ceph/ceph#72159) - rgw/es: require both major and minor in the ES version (ceph/ceph#70007) - build: turn WITH_RADOSGW_LANCEDB off where lance cannot build (ceph/ceph#71935) - cmake: make SIMD_COMPILE_FLAGS a list (ceph/ceph#72657) - cmake/boost: do not pass context-impl to the headers step (ceph/ceph#71249) - rpm: let ceph-mgr-cephadm require routes (ceph/ceph#73051) - test/mds: widen result waits in ReleaseAwait (ceph/ceph#70463) - qa/lsan.supp: match OpenSSL error state on ERR_set_mark (ceph/ceph#71460) Signed-off-by: Sun Yuechi <[email protected]>
The new snapshot brings in these fixes: - osd/PeeringState: fix the divergence check against olog.head (ceph/ceph#70149) - osd: assert OI_ATTR is present in rollback_setattrs (ceph/ceph#70965) - osdc: fix ReplicaSplitOp chunk distribution, reassembly and small multi-op reads (ceph/ceph#70207) - erasure-code/isa: default the technique when the profile has none (ceph/ceph#72215) - mount.ceph: report kernels without aes256k key support (ceph/ceph#72159) - rgw/es: require both major and minor in the ES version (ceph/ceph#70007) - build: turn WITH_RADOSGW_LANCEDB off where lance cannot build (ceph/ceph#71935) - cmake: make SIMD_COMPILE_FLAGS a list (ceph/ceph#72657) - cmake/boost: do not pass context-impl to the headers step (ceph/ceph#71249) - rpm: let ceph-mgr-cephadm require routes (ceph/ceph#73051) - test/mds: widen result waits in ReleaseAwait (ceph/ceph#70463) - qa/lsan.supp: match OpenSSL error state on ERR_set_mark (ceph/ceph#71460) Signed-off-by: Sun Yuechi <[email protected]>
parse_version()only checkedsscanf() < 0as failure, but sscanf returnsthe count of assigned fields, so a partial match leaves
major/minoruninitialized and pollutes later version checks. Require both fields and
return -EINVAL otherwise.
Checklist