![]() It’s a cursor that will wait for a few seconds after returning a full result set, so that it can capture and return additional data added during a query. If more data is seen, iteration of the cursor will continue from the last document seen.Ĭhange Stream utilises TAILABLE_AWAIT, which is a tailable cursor with an await option set. Which basically a cursor that is not closed when the last data is retrieved but are kept open, the cursor location marks the final document position. Without knowing more of the your code implementation, you’re probably utilising TAILABLE cursor. I was initially concerned with the get more command because our tailable curosr implementation of the Oplog issues a lot of get more commands, but in case of Change Streams it is proportion to the amount of change cursors opened
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |