-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.5.9
-
Component/s: Change Streams
-
Empty show more show less
I was getting errors logged on process exit from the collection watching code.
I found that the value of change can be null in processNewChange when the server connection is closed but the call to cacheResumeToken did not allow for that.
I provided a fix here: https://github.com/mongodb/node-mongodb-native/pull/2416
This issue is just here so that the problem is also tracked in JIRA.