AtharvUrunkar commented on issue #38337:
URL: https://github.com/apache/beam/issues/38337#issuecomment-4394367368

   I’d like to work on this issue.
   
   Current implementation fetches the spec only once per VM and keeps using the 
cached version, which can become stale if the table spec changes during runtime.
   
   My plan is to introduce a periodic refresh mechanism with a configurable 
refresh interval/TTL. The worker will reload the latest spec from the table 
after the interval expires and update the cached spec only if changes are 
detected. I’ll also ensure the refresh logic is thread-safe and add unit tests 
covering:
   
   * initial spec loading
   * cache reuse before refresh interval
   * spec refresh after interval expiry
   * handling updated specs correctly
   * concurrent access behavior
   
   Please assign this issue to me.
   
   


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