officialasishkumar opened a new pull request, #18718: URL: https://github.com/apache/hudi/pull/18718
### Describe the issue this Pull Request addresses Closes #18493. ### Summary and Changelog StorageBasedLockProvider.renewLock now reports the renewed lock expiration deadline metric from the lock file returned by the successful conditional update instead of the previous lease's remaining time. Added a regression test covering the renewal metric value. Validation: `mvn -pl hudi-client/hudi-client-common -am -Dtest=TestStorageBasedLockProvider#testRenewLockUpdatesMetricWithRenewedExpirationDeadline -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false -DskipITs=true -DskipFTs=true test` ### Impact Lock expiration metrics now reflect the active renewed lease after heartbeat renewal. There is no public API change. ### Risk Level low. The change is limited to metrics emitted after successful storage lock renewal; lock renewal behavior and the existing old-expiration log message are unchanged. ### Documentation Update none ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Enough context is provided in the sections above - [x] Adequate tests were added if applicable -- 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]
