Conversation
yiguolei
commented
Aug 9, 2019
Contributor
- Check all tablet using partition tablet map during publish version.
- Add eco mode meta sync interface.
chaoyli
requested changes
Aug 14, 2019
| 3, // thread num | ||
| 10000, // queue size | ||
| 10, // batch size | ||
| boost::bind<void>(boost::mem_fn(&TabletSyncService::_fetch_rowset_meta_thread), this, _1)); |
chaoyli
requested changes
Aug 14, 2019
| template <typename T> | ||
| class BatchProcessThreadPool { | ||
| public: | ||
| // Singnature of function that process task batch by batch not one by one |
|
|
||
| namespace doris { | ||
|
|
||
|
|
| private: | ||
| BatchProcessThreadPool<FetchRowsetMetaTask>* _fetch_rowset_pool = nullptr; | ||
| BatchProcessThreadPool<PushRowsetMetaTask>* _push_rowset_pool = nullptr; | ||
| BatchProcessThreadPool<FetchTabletMetaTask>* _fetch_tablet_pool = nullptr; |
chaoyli
requested changes
Aug 14, 2019
| RowsetMetaPB rowset_meta_pb; | ||
| std::shared_ptr<std::promise<OLAPStatus>> pro; | ||
| bool operator< (const PushRowsetMetaTask& o) const { | ||
| return priority < o.priority; |
| bool load_data; | ||
| std::shared_ptr<std::promise<OLAPStatus>> pro; | ||
| bool operator< (const FetchTabletMetaTask& o) const { | ||
| return priority < o.priority; |
| void _push_rowset_meta_thread(std::vector<PushRowsetMetaTask> tasks); | ||
| void _fetch_tablet_meta_thread(std::vector<FetchTabletMetaTask> tasks); | ||
| void _push_tablet_meta_thread(std::vector<PushTabletMetaTask> tasks); | ||
| public: |
chaoyli
approved these changes
Aug 14, 2019
swjtu-zhanglei
pushed a commit
to swjtu-zhanglei/incubator-doris
that referenced
this pull request
Jul 25, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.