Brijesh-Thakkar commented on PR #27115:
URL: https://github.com/apache/camel/pull/27115#issuecomment-5915934814

   Thanks @davsclaus  findPlatformBom picks the newest
   release in each stream, so a respin on the same Camel version (e.g. 4.14.5:
   3.27.3.1 -> 3.27.4) would be missed, and the pinning contradicts the 4.21
   upgrade guide. I'll rework this:
   
   - Mapping entries get a TTL (7 days, as a constant), stored as a resolvedAt
     timestamp. Expired or timestamp-less entries count as a miss and are
     re-resolved and refreshed.
   - storePlatformMapping writes to a temp file and uses ATOMIC_MOVE.
   - Update the 4.21 upgrade guide and the camel-jbang docs to describe the
     mapping cache, the TTL and --fresh.
   - Add tests for the respin case (cached entry expires, newer platform is 
picked up).
   
   Will push an update shortly.


-- 
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]

Reply via email to