Skip to content

[core] Keep shared IOManager open after clustering sort - #10068

Open
hutiefang76 wants to merge 1 commit into
apache:masterfrom
hutiefang76:frank/paimon-10066-sorter-iomanager
Open

hutiefang76 wants to merge 1 commit into
apache:masterfrom
hutiefang76:frank/paimon-10066-sorter-iomanager

Conversation

@hutiefang76

Copy link
Copy Markdown
Contributor

Purpose

Closes #10066.

Sorter receives the write-owned IOManager. Closing it after one clustering
round deletes the write's shared spill directories, so a later group that
spills fails with FileNotFoundException. Keep the shared manager open,
release the sort buffer's own spill channels, and close the sorter's input
reader.

Tests

  • mvn -pl paimon-codegen-loader -am -DskipTests package
  • mvn -pl paimon-core -am -DfailIfNoTests=false -Dtest=SorterTest test

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Cluster rewrite closes the shared IOManager, breaking later spills of the same write

1 participant