Bug report #6997

Locks kept on layers after removal from registry

Added by Sandro Santilli about 11 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Data Provider/PostGIS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:16101

Description

How it happened:
- Open DBManager, select a topology schema, select Topology Viewer
- Issue a SELECT DropTopology(<topology_name>) from an external monitor (psql)
- Verify that the command hangs, waiting on a lock
- Remove the whole topology viewer layer group from the registry

What happens:
- The DropTopology select is still waiting for the lock to be removed

Expected behavior:
- QGIS releases the lock when the layer is removed, and DropTopology command
can complete

NOTE: I had to close QGIS in order for the command to complete.

This happened with qgis as of head = 314d144

History

#1 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#2 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF