Skip to content
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

Rollback operations slow if lots of features changed #18109

Closed
qgib opened this issue Feb 9, 2014 · 2 comments
Closed

Rollback operations slow if lots of features changed #18109

qgib opened this issue Feb 9, 2014 · 2 comments
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

Comments

@qgib
Copy link
Contributor

qgib commented Feb 9, 2014

Author Name: Matthias Kuhn (@m-kuhn)
Original Redmine Issue: 9519
Affected QGIS version: master
Redmine category:vectors


To reproduce:

  • Open a layer with a big amount of features (...and with a slow backend)
  • Start editing
  • Open the field calculator
  • Create a new column (e.g. "rand( 1, 10 )" )
  • Stop editing without saving changes

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


@qgib
Copy link
Contributor Author

qgib commented Feb 9, 2014

Author Name: Jürgen Fischer (@jef-n)


duplicate of #18100?

@qgib
Copy link
Contributor Author

qgib commented Feb 9, 2014

Author Name: Matthias Kuhn (@m-kuhn)


I think so. Closing as duplicate.


  • resolution was changed from to duplicate
  • status_id was changed from Open to Closed

@qgib qgib added 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) labels May 24, 2019
@qgib qgib added this to the Version 2.2 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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)
Projects
None yet
Development

No branches or pull requests

1 participant