CA-141502: Missing 'type' argument in uuid_invalid handled
Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
CA-141502: Log warning when messages get GC'ed
Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
CA-141502: Making message_destroy more robust

While destroying a message with a given ref, if
the ref does not exit under refs dir, a handle_invalid
error is thrown and the message is left undestroyed.

This patch reads the refs from all the messages under
/var/xapi/blobs/messages and matches it with the given
ref. Once the match is found, it retrives that message
file and is then destroyed.
Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
Merge pull request #1897 from ravippandey/CA-141502_tr3

CA-141502: Message_destroy fixes