[JAVA-4610] Should noop be a operation type Created: 13/May/22  Updated: 01/Jun/22  Resolved: 27/May/22

Status: Closed
Project: Java Driver
Component/s: Change Streams
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Unknown
Reporter: Yang Wu Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In oplog, there is a "noop" type, whereas in Operation Type, we don't have it https://github.com/mongodb/mongo-java-driver/blob/master/driver-core/src/main/com/mongodb/client/model/changestream/OperationType.java#L24 

 

Does it make sense to add it there as well? Or what are the reasons that we skip noop?



 Comments   
Comment by Jeffrey Yemin [ 13/May/22 ]

OperationType is for change streams, which is similar to the oplog but not identical. I don't think a change stream will ever actually deliver a "noop" change stream document. If you're seeing otherwise, please let us know.

Generated at Thu Feb 08 09:02:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.