Conversation
|
@ifed01 hi Igor, could you please help review this change? |
aclamk
left a comment
There was a problem hiding this comment.
I think we should not remove "sbid" from dump.
The sbid field added in commit a7f8e23 is set during construction but not persisted to disk. Including it in dump() output causes discrepancies between original and re-encoded instances, leading to test failures in readable.sh and check-generated.sh. Current tests pass because they reuse the same instance for re-encoding, preserving non-persisted fields. An upcoming change will allocate fresh instances for each decode operation, which will expose this issue and break tests. Use default value for sbid when generating test instances to ensure consistency between encoding and decoding operations. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
1009cda to
2426c11
Compare
|
jenkins test make check |
|
jenkins test api |
|
jenkins test make check |
|
jenkins test make check arm64 |
|
jenkins test make check |
|
jenkins test make check arm64 |
|
jenkins test windows |
|
changelog
@aclamk hi Adam, could you please take another look? |
|
@aclamk ping? |
|
@aclamk ping? |
tried to contact Adam multiple times -- on slack and on github. no responses so far, and the change was confirmed by him over slack three weeks ago. so dismissing his "request for change".
|
@aclamk sorry, Adam, after trying to contact you multiple times -- on slack and on github, no responses so far. i understand there are lots of things going on. but i made the change requested by you half a month ago. so i believe that your concern should be addressed in the latest change. since Igor approved the change, and this change only impacts the encoding related tests which are exercised by CI. so i am jumping the gun, and merging this change without your approval in order to unblock #63910. |
The sbid field added in commit a7f8e23 is set during construction but not persisted to disk. Including it in dump() output causes discrepancies between original and re-encoded instances, leading to test failures in readable.sh and check-generated.sh.
Current tests pass because they reuse the same instance for re-encoding, preserving non-persisted fields. An upcoming change will allocate fresh instances for each decode operation, which will expose this issue and break tests.
Use default value for sbid when generating test instances to ensure consistency between encoding and decoding operations.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition