While experimenting with a new FSM test I ended up with two views in the local catalog that have the same name.
This is the output of listCollection command:
{ "name" : "coll_1", "type" : "timeseries", "options" : { "timeseries" : { "timeField" : "time", "granularity" : "seconds", "bucketMaxSpanSeconds" : 3600 } }, "info" : { "readOnly" : false } }, { "name" : "coll_1", "type" : "view", "options" : { "viewOn" : "coll_6", "pipeline" : [ { "$match" : { } } ] }, "info" : { "readOnly" : true } }, { "name" : "coll_6", "type" : "collection", "options" : { }, "info" : { "readOnly" : false, "uuid" : UUID("f7762c48-df15-4ea0-8971-36451a74632b") }, "idIndex" : { "v" : 2, "key" : { "_id" : 1 }, "name" : "_id_" } }, { "name" : "system.buckets.coll_1", "type" : "collection", "options" : { "validator" : { "$jsonSchema" : { "bsonType" : "object", "required" : [ "_id", "control", "data" ], "properties" : { "_id" : { "bsonType" : "objectId" }, "control" : { "bsonType" : "object", "required" : [ "version", "min", "max" ], "properties" : { "version" : { "bsonType" : "number" }, "min" : { "bsonType" : "object", "required" : [ "time" ], "properties" : { "time" : { "bsonType" : "date" } } }, "max" : { "bsonType" : "object", "required" : [ "time" ], "properties" : { "time" : { "bsonType" : "date" } } }, "closed" : { "bsonType" : "bool" }, "count" : { "bsonType" : "number", "minimum" : 1 } }, "additionalProperties" : false }, "data" : { "bsonType" : "object" }, "meta" : { } }, "additionalProperties" : false } }, "clusteredIndex" : true, "timeseries" : { "timeField" : "time", "granularity" : "seconds", "bucketMaxSpanSeconds" : 3600 } }, "info" : { "readOnly" : false, "uuid" : UUID("d4fb7f04-52bf-436c-b003-787e62d72cee") } },
There are two entries for coll_1 one of type timeseries and the other is of type view