- Issue created by @apotek
- πΊπΈUnited States adamzimmermann
Thank you for creating this issue and providing such a detailed request.
I want to acknowledge that I 100% see the desire for this and the value, but I have two concerns off-hand.
- The complexity around managing the state of the current page/the page that should be resumed from and keeping that separate for different types of requests. This is solvable in my mind though.
- The issue around the result set changing between the initial request and the next request, which might completely alter the items in a given page of results depending on the sorting being used. This is potentially solvable if new items are only ever added to later pages, but that is something we need to determine based upon the sorting algorithm being used.
We will have to think about this more when we get to this.
- πΊπΈUnited States apotek
The issue around the result set changing between the initial request and the next request, which might completely alter the items in a given page of results depending on the sorting being used. This is potentially solvable if new items are only ever added to later pages, but that is something we need to determine based upon the sorting algorithm being used.
I think, given the option of having to re-queue 1 million items from the start, if the process is interrupted, versus possibly having some paging overlap or possible interstitial changes (which could be queued later with a date-based query), I would prefer having to re-queue and re-migrate a few hundred over having to requeue and remigrate a million. I think even a "sloppy" resume is worth it. My $0.02
- πΊπΈUnited States adamzimmermann
I think, given the option of having to re-queue 1 million items from the start, if the process is interrupted, versus possibly having some paging overlap or possible interstitial changes (which could be queued later with a date-based query), I would prefer having to re-queue and re-migrate a few hundred over having to requeue and remigrate a million. I think even a "sloppy" resume is worth it. My $0.02
When you put it that way, it makes my concern seem like less of an issue haha.
I have a MR coming. I don't think it's ready for merging or final review, but it could be a interim solution that we use via patch and continue to improve on as time permits. I'm open to feedback on the approach here.
- @adamzimmermann opened merge request.
- Status changed to RTBC
over 1 year ago 1:30pm 2 November 2023 - Status changed to Active
over 1 year ago 1:40pm 2 November 2023 - πΊπΈUnited States adamzimmermann
The initial MR was merged, but I would like to keep this open for adding the final polish/fixes as the work I did was more of a prototype of the functionality and not feature complete.
@apotek has noted some of those changes in his comments above.
- Status changed to Fixed
over 1 year ago 3:16am 21 November 2023 - πΊπΈUnited States apotek
This core need in this issue is fixed. For further refinement of user output, I have opened https://www.drupal.org/project/orange_dam/issues/3402985 π Improve output when queuing with the --page= parameter Active .
Automatically closed - issue fixed for 2 weeks with no activity.