-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change nodurable cursor to active (#6769)
### Motivation When use non-durable subscription the cursor is not active which lead to the written entries are not put into cache. This situation would degrade reading performance. ### Modifications Change the `NonDurableCursorImpl` to active and remove the three override methods: `setActive()/isActive()/setInactive()` ### Verifying this change This change added tests and can be verified as follows: *ManagedCursorTest.testNonDurableCursorActive()* - add test to check `NonDurableCursorImpl` activity (cherry picked from commit 16ab351)
- Loading branch information
1 parent
74c668a
commit 0ce7a66
Showing
3 changed files
with
13 additions
and
16 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