forked from mtusi2026/mtusi2026lab5
feat(attachments): accept uploads through staging and transactional outbox
This commit is contained in:
@@ -96,22 +96,19 @@ func printReport(report reconcile.Report) {
|
||||
report.ListPages,
|
||||
)
|
||||
fmt.Printf(
|
||||
"found orphan_objects=%d missing_attachments=%d stale_uploads=%d corrupt_objects=%d\n",
|
||||
"found orphan_objects=%d missing_attachments=%d corrupt_objects=%d\n",
|
||||
len(report.OrphanObjects),
|
||||
len(report.MissingAttachments),
|
||||
len(report.StaleUploads),
|
||||
len(report.CorruptObjects),
|
||||
)
|
||||
fmt.Printf(
|
||||
"skipped fresh=%d referenced=%d inactive=%d\n",
|
||||
"skipped fresh=%d inactive=%d\n",
|
||||
report.SkippedFresh,
|
||||
report.SkippedReferenced,
|
||||
report.SkippedInactive,
|
||||
)
|
||||
fmt.Printf(
|
||||
"changes deleted_objects=%d deleted_rows=%d marked_failed=%d\n",
|
||||
"changes deleted_objects=%d marked_failed=%d\n",
|
||||
report.DeletedObjects,
|
||||
report.DeletedRows,
|
||||
report.MarkedFailed,
|
||||
)
|
||||
|
||||
@@ -124,9 +121,6 @@ func printReport(report reconcile.Report) {
|
||||
for _, id := range report.MissingAttachments {
|
||||
fmt.Printf("missing_attachment %s\n", id)
|
||||
}
|
||||
for _, id := range report.StaleUploads {
|
||||
fmt.Printf("stale_upload %s\n", id)
|
||||
}
|
||||
for _, message := range report.Errors {
|
||||
fmt.Printf("error %s\n", message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user