You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In large solutions (thousands of indexed files) where the indexing takes quite long, the user may do this:
Invoke the plugin window, type a few letters,
close the window,
Invoke the window again, type more letters
--> crash
This is what happens internally:
On the first invoke a full index of the solution is started in a background thread. This indexing takes long enough time that it still runs when the plugin window is invoked again.
On the second invoke, another parallel index is started (the first one still runs).
When the first index finishes, it starts a search over the indexed data.
While the search executes, the second index finishes and rewrites the index collection on which the search query currently executes, resulting in a race condition.
The text was updated successfully, but these errors were encountered:
In large solutions (thousands of indexed files) where the indexing takes quite long, the user may do this:
This is what happens internally:
The text was updated successfully, but these errors were encountered: