rethinkdbdash icon indicating copy to clipboard operation
rethinkdbdash copied to clipboard

No pool draining if changes stream active

Open ob-julian opened this issue 1 year ago • 0 comments

I have some code that creates automated changes() Listeners/Events/Cursor/Streams (whatever you wanna call them) for every logged-in user. If I now try to restart the Service the r.getPoolMaster().drain(); doesn't work so I need to force quit the Service.
The thing is, I don't have/saved access to those Streams so I can't close them.
If I deactivate the code that creates the Streams r.getPoolMaster().drain(); works as expected.

Version: Rethink: 2.4.2~0bullseye (GCC 10.2.1) Dash: 9.6.3

ob-julian avatar Jan 04 '24 22:01 ob-julian