-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CompositeStationCollection leaves files locked #320
Labels
bug
Something isn't working
Comments
lesserwhirls
added a commit
to lesserwhirls/netcdf-java
that referenced
this issue
Jun 9, 2020
lesserwhirls
added a commit
to lesserwhirls/netcdf-java
that referenced
this issue
Jun 9, 2020
Make sure that datasets that do not contain a given StationFeature are release/closed, otherwise, if one or more caches are enabled (i.e. NetcdfDataset's NetcdfFile Cache or RandomAccessFile's cache), the file handle will be locked and new file handles will be opened each pass through the collection. These exist in the cache until the OS runs out of file handles, or until the cache is forcefully purged, and we all have a bad time when that happens. Fixes Unidata#320
lesserwhirls
added a commit
to lesserwhirls/tds
that referenced
this issue
Jun 10, 2020
Add a test to the TDS to make sure the bug in Unidata/netcdf-java#320 is fixed when CompositeStationCollection is used by a featureCollection featureType=Station collection.
lesserwhirls
added a commit
to lesserwhirls/tds
that referenced
this issue
Jun 10, 2020
Add a test to the TDS to make sure the bug in Unidata/netcdf-java#320 is fixed when CompositeStationCollection is used by a featureCollection featureType=Station collection (see Unidata#88)
lesserwhirls
added a commit
to lesserwhirls/thredds
that referenced
this issue
Jun 10, 2020
lesserwhirls
added a commit
to lesserwhirls/tds
that referenced
this issue
Jun 10, 2020
Add a test to the TDS to make sure the bug in Unidata/netcdf-java#320 is fixed when CompositeStationCollection is used by a featureCollection featureType=Station collection (see Unidata#88)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are cases where the code in
CompositeStationCollection
will leave aFileCachable
locked as it searches through a multifile collection for Station Features, specifically when that feature does not exist in a given file. This was first noticed on the TDS side (see Unidata/tds#88).The text was updated successfully, but these errors were encountered: