andygrove opened a new pull request, #6871:
URL: https://github.com/apache/datafusion-comet/pull/6871

   ## Which issue does this PR close?
   
   Closes #6224.
   
   Backport of #6310 to `branch-1.1`.
   
   ## Rationale for this change
   
   Spark can remove a task's execution-memory entry while a native Comet 
acquire is waiting, causing the task to fail with `NoSuchElementException` 
instead of allowing the operator to spill. The fix should be available in the 
1.1 release line.
   
   ## What changes are included in this PR?
   
   Cherry-picks #6310 with `-x`. The native memory manager retries only Spark's 
specific missing-task-entry failure, caps retries, and adds focused regression 
coverage and documentation.
   
   The only branch-specific adaptation resolves a comment conflict around the 
existing 1.1 native-plan identifier; the 1.1 wording is retained and the retry 
constant is added alongside it.
   
   ## How are these changes tested?
   
   Ran:
   
   ```text
   ./mvnw test -Dtest=none 
-Dsuites='org.apache.spark.CometTaskMemoryManagerSuite' -Dscalastyle.skip=true
   ```
   
   Result: 1 suite completed, 9 tests passed.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to