Skip to content

Commit

Permalink
Storages: Avoid SegmentReadTaskScheduler blocking the adding threads …
Browse files Browse the repository at this point in the history
…and ignore empty SegmentReadTaskPool (#9026)

close #9024
  • Loading branch information
JinheLin authored May 8, 2024
1 parent a262839 commit 3f0929f
Show file tree
Hide file tree
Showing 7 changed files with 308 additions and 448 deletions.
110 changes: 0 additions & 110 deletions dbms/src/Storages/DeltaMerge/ReadThread/CircularScanList.h

This file was deleted.

4 changes: 4 additions & 0 deletions dbms/src/Storages/DeltaMerge/ReadThread/MergedTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ class MergedTask
}
void setException(const DB::Exception & e);

#ifndef DBMS_PUBLIC_GTEST
private:
#else
public:
#endif
void initOnce();
int readOneBlock();

Expand Down
Loading

0 comments on commit 3f0929f

Please sign in to comment.