Ticket #14 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

GDAL Provider opening files too often

Reported by: warmerdam Assigned to: warmerdam
Priority: major Milestone: 3.3.0
Component: GDAL Provider Version: 3.2.0
Severity: 2 Keywords:
Cc: gregboone External ID:

Description

It seems the GDAL provider is opening and closing files far more often than would be expected in some situations. This is quite noticable if you run the PNG UnitTest? with the CPL_DEBUG environment variable set to ON.

Change History

02/20/07 22:31:20 changed by warmerdam

  • cc set to gregboone.
  • status changed from new to assigned.
  • severity changed from 3 to 2.

This has been fixed in r2571 in trunk. This modifies the files:

Src/Provider/FdoRfpDatasetCache.cpp Src/Provider/FdoRfpGeoRasterExtractor.cpp

It seems the reference counting was fairly mixed up on FdoRfpDatasetCache?.cpp, potentially causing an aweful lot of extra dataset opens. I think this should be migrated back to the 3.2.x branch. Adding Greg as a cc: to let me know which branch or branches this ought to go back into.

02/22/07 22:51:28 changed by warmerdam

  • status changed from assigned to closed.
  • resolution set to fixed.

Patch applied in fdogdal 3.2.x branch.