Version 2.1.0-alpha.2 bug rebuild bug

I think I’ve seen a mention of this, but just want to document it as such. I did a rebuild on the 20k asset library, and it now contains… just 3 assets, and 1,133 tags. So rebuild functionality is broken it seems.

I see a bunch of internal errors in the sync logs:

sync-6802-001.log:{"ts":1655007239902,"l":"error","ctx":"WorkQueue(vid:/media)","msg":"runChunk(): internal error: next() returned a recently processed item","meta":{"item":{"$ctor":"stats.QueueItem","queueId":11,"contents":"/media/photos/2021/202108/IMG_1339.mov","createdAt":1655007239556,"updatedAt":1655007239556,"id":4,"type":null},"recentlyProcessed":{"$ctor":"stats.QueueItem","id":4,"queueId":11,"contents":"/media/photos/2021/202103/12944523_1543940645906476_1337286624_n_10208936675041936.mp4","type":null}}}
sync-6802-001.log:{"ts":1655007239902,"l":"error","ctx":"WorkQueue(vid:/media)","msg":"runChunk(): internal error: next() returned a recently processed item","meta":{"item":{"$ctor":"stats.QueueItem","queueId":11,"contents":"/media/photos/2021/202108/IMG_1340.mov","createdAt":1655007239556,"updatedAt":1655007239556,"id":5,"type":null},"recentlyProcessed":{"$ctor":"stats.QueueItem","id":5,"queueId":11,"contents":"/media/photos/2021/202103/13042054_1055900054467986_435632483_n_10209046679191971.mp4","type":null}}}
sync-6802-001.log:{"ts":1655007244903,"l":"error","ctx":"WorkQueue(vid:/media)","msg":"runChunk(): internal error: next() returned a recently processed item","meta":{"item":{"$ctor":"stats.QueueItem","queueId":11,"contents":"/media/photos/2021/202110 Homecoming/IMG_1475.mov","createdAt":1655007244495,"updatedAt":1655007244495,"id":6,"type":null},"recentlyProcessed":{"$ctor":"stats.QueueItem","id":6,"queueId":11,"contents":"/media/photos/2021/202103/13051078_1788857711348693_834171821_n_10209060762344041.mp4","type":null}}}
sync-6802-001.log:{"ts":1655007254905,"l":"error","ctx":"WorkQueue(vid:/media)","msg":"runChunk(): internal error: next() returned a recently processed item","meta":{"item":{"$ctor":"stats.QueueItem","queueId":11,"contents":"/media/photos/2022/202205/67414315174__7735D60E-81D9-4051-9707-181ECE1B336D.mov","createdAt":1655007253957,"updatedAt":1655007253957,"id":7,"type":null},"recentlyProcessed":{"$ctor":"stats.QueueItem","id":7,"queueId":11,"contents":"/media/photos/2021/202103/13054119_1133087913388114_453909505_n_10209060724583097.mp4","type":null}}}
sync-6802-001.log:{"ts":1655007256906,"l":"error","ctx":"WorkQueue(img:/media)","msg":"runChunk(): internal error: next() returned a recently processed item","meta":{"item":{"$ctor":"stats.QueueItem","queueId":10,"contents":"/media/photos/2022/202206 Commencement - Hoover Clapout/4CC56467-BE9F-4EDE-9779-454C773DDFDD.jpeg","createdAt":1655007256350,"updatedAt":1655007256350,"id":8,"type":null},"recentlyProcessed":{"$ctor":"stats.QueueItem","id":8,"queueId":10,"contents":"/media/photos/2021/202109/IMG_13912.jpeg","type":null}}}

Full debug logs available on request…

It actually gets weirder… after restarting PS, it shows this:

Either 20,264 assets… or 20,253 assets… but really only 3 assets.

Thanks for reporting. If you could send me logs that’d be great.

Link to the logs sent by PM