Skip to content

Conversation

@kaijchen
Copy link
Member

Proposed changes

Change use_cnt mechanism for incremental (auto partition) channels and streams, it's now dynamically counted.
Use close_wait() of regular partitions as a synchronize point to make sure all sinks are in close phase before closing any incremental (auto partition) channels and streams.
Add dummy (fake) partition and tablet if there is no regular partition in the auto partition table.

Backport #35287

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

…er (apache#35287)

Change `use_cnt` mechanism for incremental (auto partition) channels and
streams, it's now dynamically counted.
Use `close_wait()` of regular partitions as a synchronize point to make
sure all sinks are in close phase before closing any incremental (auto
partition) channels and streams.
Add dummy (fake) partition and tablet if there is no regular partition
in the auto partition table.

Replace apache#34740

Co-authored-by: zhaochangle <zhaochangle@selectdb.com>
@yiguolei yiguolei merged commit c2fc485 into apache:branch-2.1 May 31, 2024
@kaijchen kaijchen deleted the pick-35287 branch May 31, 2024 03:05
morningman pushed a commit that referenced this pull request Jun 11, 2024
…lti sender (#35287)" (#36098)

Reverts #35630 because it brought some more damaging bugs.
we will fix it and merge in next version
zclllyybb added a commit to zclllyybb/doris that referenced this pull request Jun 20, 2024
…er (apache#35287) (apache#35630)

## Proposed changes

Change `use_cnt` mechanism for incremental (auto partition) channels and
streams, it's now dynamically counted.
Use `close_wait()` of regular partitions as a synchronize point to make
sure all sinks are in close phase before closing any incremental (auto
partition) channels and streams.
Add dummy (fake) partition and tablet if there is no regular partition
in the auto partition table.

Backport apache#35287

Co-authored-by: zhaochangle <zhaochangle@selectdb.com>
morningman pushed a commit that referenced this pull request Jun 20, 2024
… replica (#36586)

this pr
1. picked #35630, which was reverted #36098 before.
2. picked #36344 from master

these two pr fixed existing bug about auto partition load.

---------

Co-authored-by: Kaijie Chen <ckj@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants