forked from OpenTSDB/opentsdb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify the TsdbQuery scanner to stop at 1024 calls to .nextRows() so …
…that we can continue in a different thread. It has a thread pool for now but I'd like to eventually share that with Netty. This avoids the stack overflow problem in OpenTSDB#334 where the callback chain simply grew too long.
- Loading branch information
Showing
3 changed files
with
151 additions
and
35 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