-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
v6.2, v6.0, v5.0
-
-
Execution Team 2022-11-14, Execution Team 2022-12-12, Execution Team 2022-11-28, Execution Team 2022-12-26
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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