Uploaded image for project: 'Bitrepository'
  1. Bitrepository
  2. BITMAG-603

GetChecksumsClient does not respect a failed identification

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Iteration 23, 0.17
    • reference-0.15
    • None
    • None
    • Hide

      Try to request a checksum that the checksum pillar doesn't have and see that is not asked after the identification phase.
      Try to obtain a checksum for a file not existing in the collection, see that the client fails after all pillars rejects in the identification phase.

      Show
      Try to request a checksum that the checksum pillar doesn't have and see that is not asked after the identification phase. Try to obtain a checksum for a file not existing in the collection, see that the client fails after all pillars rejects in the identification phase.

    Description

      When a pillar returns a negative identification for the GetChecksums operation, then the GetChecksumsClient ignores their failure, and continues to ask them, even though they already rejected the operation.
      This can especially be seen on the ChecksumPillar, since it rejects any GetChecksums requests (both the identification and operation) if it contains a checksum specification different from the one of the ChecksumPillar.
      It that case it has to return a failed response for both the IdentifyPillarForGetChecksumsRequest and the GetChecksumsRequest.

      Attachments

        Activity

          People

            ktc Kim Christensen (Inactive)
            jolf Jonas Lindberg Frellesen (Inactive)
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: