Abhay-raj-srivastava opened a new pull request, #381:
URL: https://github.com/apache/tooling-trusted-releases/pull/381
## Summary
This PR fixes a logic error in `update_metadata()` that caused the update
task
to crash.
The previous PR accidentally duplicated update blocks and placed the metadata
timestamp outside the correct transaction block.
## What This Fix Does
- Restores the correct ordering of update steps.
- Ensures the metadata timestamp `last_auto_committee_update` is written
**inside**
the same transaction where committees are updated.
- Removes the duplicated blocks that were causing invalid behavior.
- Matches the maintainers’ requested structure.
## Why This Is Needed
The tooling relies on accurate timestamps for committee auto-updates.
The earlier misplaced logic broke database consistency and caused the update
task to fail.
This fix resolves the crash and preserves data integrity.
## Validation
- Rebased on top of `apache/main`.
- Verified structure matches current upstream.
- No functional changes except correcting the faulty logic structure.
Ready for review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]