-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactory fulltext index building into pipeline (#664)
### What problem does this PR solve? Refactory fulltext index building into pipeline. Issue link:#551 ``` export class Indexer { // One thread can call this method. This's non-blocking. void BatchInsert(const BlockEntry *block_entry, u32 row_offset, u32 row_count, BufferManager *buffer_mgr); // A background thread of Indexer calls this method regularly (for example, every 2 seconds). This's non-blocking. // Other threads can also call this method. void Commit(); // One thread can call this method when memory limit reach (for example, 200MB). This's blocking. void Dump(); } ``` ### Type of change - [x] Refactoring
- Loading branch information
1 parent
1af0c66
commit 384e780
Showing
21 changed files
with
456 additions
and
1,029 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.