Skip to content

Instantly share code, notes, and snippets.

@GavinLilly
Created October 13, 2017 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GavinLilly/c22b1e1c7c8e17111b1c06528d7613a4 to your computer and use it in GitHub Desktop.
Save GavinLilly/c22b1e1c7c8e17111b1c06528d7613a4 to your computer and use it in GitHub Desktop.
This is the query which gave a list of filerecords. Appears to be those that have failed to upload
db.getCollection('cfs.attachments.filerecord').find({"uploadedAt" : {
"$exists" : true
},
"copies.attachments" : null,
"failures.copies.attachments.doneTrying" : {
"$ne" : true
}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment