We have an aggregation pipeline that takes roughly 15-20 minutes to fully complete. During this pipeline we are calculating aggregated values based on the properties on the documents. In the event a value on one of these documents is changed via an update from another process, how does that affect the results of the pipeline currently in progress?
In general when programming objects use references to each other. In the event this object changes, all references to the object are affected. This is why we have to worry about Deep vs Shallow copies in some programming languages.
So my question is; if during this 10 minute aggregation pipeline a document is changed and its values updated, does that change the results that we WOULD have gotten if the document itself had not been changed?
I hope that makes sense.