HumanCellAtlas / ingest-central

Ingest Central is the hub repository for the ingest service
Apache License 2.0
0 stars 1 forks source link

[Dev] File listener is not rejecting messages with invalid submission uuid #55

Open aaclan-ebi opened 6 years ago

aaclan-ebi commented 6 years ago

To Reproduce

  1. send the ff message to ingest.file.create.staged queue

{"upload_area_id": "deadbeef-dead-dead-dead-679972014606", "name": "small_file", "size": 1073, "content_type": "application/octet-stream; dcp-type=data", "url": "s3://org-humancellatlas-upload-predev/deadbeef-dead-dead-dead-679972014606/small_file", "checksums": {"crc32c": "C80D954E", "sha1": "e5e331f8bc6347607cf69ea242982f483ab53523", "sha256": "7830bee1d57cb253d2aefc4e117e2ddcb056d523d92c164611a5bffe25b0444b", "s3_etag": "d44dbb8da5d736652e7b53e7482f2ecc"}, "last_modified": "2018-06-12T21:30:54+00:00"}

Expected behaviour

Message should get rejected and not requeued.

Actual behaviour

Message becomes unacked and gets requeued blocking the new messages.

Impact

Blocks valid messages from being processed.

Files uploaded doesn't get assigned with cloud urls

danielvaughan commented 6 years ago

Added JIRA ticket" https://www.ebi.ac.uk/panda/jira/browse/HCA-1038

justincc commented 5 years ago

Now that this request is behind an endpoint we may be able to do a check and reject. Currently, we are ignoring and logging.