anishshri-db opened a new pull request, #50502:
URL: https://github.com/apache/spark/pull/50502

   ### What changes were proposed in this pull request?
   Fix incorrect logging when no files are eligible for deletion in 
RocksDBFileManager
   
   ### Why are the changes needed?
   Without this, when no files are eligible, we are logging the wrong(negative) 
value in the logs
   
   ```
   25/04/01 20:16:23 INFO RocksDBFileManager 
StateStoreId(opId=0,partId=138,name=default): Skipping deleting files. Need at 
least 30 stale versions for batch deletion but found only -90.
   ```
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Existing unit tests
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to