-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
1
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
Recently we realized that in specific scenario we could raise a CommandNotSupportedOnView instead of the usual QuaryPlanKilled when restoring a yielded collection acquisition. The specific scenario is the following:
- we acquire a namespace and there is no collection or view
- we yield the acquisition
- a view gets created on that namespace
- when we attempt to restore the acquisition, we throw CommandNotSupportedOnView
This is different from most of the other scenario, in fact if the collection change during yielding we usually throw QueryPlanKilled (e.g. rename, drop, create collection etc...)
The goal of this ticket is to investigate if raising this error it is actually safe and correctly handled upstream (query engine, router, drivers etc..).