Allow application to have continued access to for ChangeStream.Current without extra copy

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently if applications want to have continued access to ChangeStream.Current after calling Next/TryNext, they have to make a copy of it. This is every inefficient for applications that usually get large change events, and continued access for change streams is very common, for example putting the current event to a queue for async processing. It seems that the reason we have to do this is because the ChangeStream.Current slice can be overwritten, so this ticket is to improve the implementation to avoid applications doing extra copy.

            Assignee:
            Preston Vasquez
            Reporter:
            Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: