Skip to content

samplingfeaturedatasets datasets permanently appending to all objects. #130

@Elijahwalkerwest

Description

@Elijahwalkerwest

Doing some testing with Mauriel today we discovered a strange behavior. Only the first query made returns accurate data. Each further query appends the datasets of all previous queries to a consistent object. E.G.

If you start the server and query id 1001, it returns 2 datasets.

If you start the server and query id 1002 it returns 3 datasets.

However if you first query 1001, then 1002, both objects show 5 datasets instead.

And if you after that make a query for ONLY 1003, (Which should only have 2 datasets) It will contain every dataset queried so far. So, 7 in total.

So each object acquires the dataset of each previously queried object. This also explains why the query is so monstrously slow. Instead of a a set of 3 objects that contain 2, 3, and 2 datasets. It's 3 objects that each contains 7 datasets. Which, if you are querying a large amount of ID's, get's absurdly large.

Additionally, it seems to break every FURTHER query. i.e. once you query any two samplingfeature ID's, all further queries will have thei datasets appended. So it seems each time a unique dataset is queried, it is permanently added to datasets of each object.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions