LorekeeperLegacySubmissionBackfillService

Repairs legacy book submissions that were logged in lore entries but not fully processed.

This backfill runs once on server start and:

  • Ensures eligible legacy submissions are queued for market sale.

  • Refreshes market copies that are missing a Lorekeeper foreword.

  • Applies quality metadata when missing.

Types

Link copied to clipboard
data class BackfillReport(val missingSaleCopies: Int, val missingForewordCopies: Int, val existingForewordRefreshes: Int, val missingQualityScores: Int, val paginationRepublishBookRefreshes: Int, val paginationWeekNumber: Long, val paginationCreatedSnapshot: Boolean)

Summary of queued work from a backfill run.

Functions

Link copied to clipboard
fun register()

Registers startup backfill for legacy submissions.

Link copied to clipboard

Manually reruns legacy submission backfill and pagination republish regardless of version.