Description
The issue could be produced as follows:
1-
CREATE SCOPE test.test;
|
2-
USE test.test;
|
CREATE COLLECTION MyCollection PRIMARY KEY (id:int); |
3-
CREATE SCOPE test;
|
4-
USE test;
|
CREATE COLLECTION MyCollection PRIMARY KEY (id:int); |
5-
DROP SCOPE test;
|
-- After this, files of both scopes "test" and "test.test" are deleted |
-- Metadata datasets still hold information about "test.test" as if it exists |
6-
DROP SCOPE test.test;
|
-- This throws an error: |
-- Resource does not exist for storage/partition_3/test/^test/MyCollection/0/MyCollection |