Skip to content

A failed native grow is only logged when the task makes no later try_grow #7615

Open

Description

@JonSnow1807

Describe the bug

With #7607, SparkMemory keeps the first request to Spark that fails, and every later try_grow in the task fails with that exception. If an infallible grow fails and the task makes no later try_grow, the exception is still only logged, and the task can finish successfully.

Expected behavior

The task fails with the exception Spark threw, as it does when a later try_grow runs.

Additional context

Closing this means checking for the stored failure when a plan’s stream ends in jni_api.rs. That changes the JNI plan lifecycle, so it was left out of #7607. Part of #7244.

Willingness to contribute

Yes.

Activity

  1. added
    bugSomething isn't working
    priority:mediumFunctional bugs, performance regressions, broken features
    and removed on Nov 16, 2026
  2. added this to the 1.3.0 milestone on Nov 16, 2026
  3. kazuyukitanimura commented on Nov 16, 2026

    @kazuyukitanimura
    Contributor

    Hi @JonSnow1807
    Thank you for reporting this issue. I assigned this to you based on your description. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:mediumFunctional bugs, performance regressions, broken features

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions