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

   ### What changes were proposed in this pull request?
   Remove snapshot creation based on changelog ops size
   
   
   ### Why are the changes needed?
   Current mechanism to create snapshot is based on num batches or num ops in 
changelog. However, the latter is not configurable and might not be analogous 
to large snapshot sizes in all cases leading to variance in e2e latency. Hence, 
removing this condition for now.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Augmented unit tests
   
   ```
   ===== POSSIBLE THREAD LEAK IN SUITE 
o.a.s.sql.execution.streaming.state.RocksDBSuite, threads: 
ForkJoinPool.commonPool-worker-6 (daemon=true), 
ForkJoinPool.commonPool-worker-4 (daemon=true), 
ForkJoinPool.commonPool-worker-7 (daemon=true), 
ForkJoinPool.commonPool-worker-5 (daemon=true), 
ForkJoinPool.commonPool-worker-3 (daemon=true), rpc-boss-3-1 (daemon=true), 
ForkJoinPool.commonPool-worker-8 (daemon=true), shuffle-boss-6-1 (daemon=true), 
ForkJoinPool.commonPool-worker-1 (daemon=true), ForkJoinPool.common...
   [info] Run completed in 5 minutes, 7 seconds.
   [info] Total number of tests run: 176
   [info] Suites: completed 1, aborted 0
   [info] Tests: succeeded 176, failed 0, canceled 0, ignored 0, pending 0
   [info] All tests passed.
   [success] Total time: 332 s (05:32), completed Jul 12, 2024, 2:46:44 PM
   ```
   
   
   ### 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