Rollback operations slow if lots of features changed #18109
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
High Priority
Vectors
Related to general vector layer handling (not specific data formats)
Milestone
Author Name: Matthias Kuhn (@m-kuhn)
Original Redmine Issue: 9519
Affected QGIS version: master
Redmine category:vectors
To reproduce:
It takes a long time to undo this command and QGIS freezes during this time. As far as I can tell, there are feature requests made for every single feature which was updated before (so all in the case mentioned above).
I could imagine a possible approach would be to batch undo the affected rows and perform a single request with setFilterFids() to still only request the required rows, but with less roundtrips.
Related issue(s): #17922 (relates), #18100 (duplicates)
Redmine related issue(s): 9315, 9509
The text was updated successfully, but these errors were encountered: