[SERVER-32745] Buggy invalidate() in MultiPlanStage Created: 17/Jan/18  Updated: 27/Oct/23  Resolved: 18/Jan/18

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

The MPS keeps a list of results that it finds during the trial phase. When a document is deleted (in mmapv1) and invalidate() is called, it never removes the deleted document from this list.

CC david.storch since we thought this was suspicious when I was at your desk the other day.

(Edited after I realized this is probably way less serious than I thought).



 Comments   
Comment by Andy Schwerin [ 18/Jan/18 ]

Why is this a bug? The document in this case was deleted after it was found, so it seems legal to return the cached copy.

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