Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16588

aql stat.downloaded results changed between 5.8.2 and 5.10.3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 5.10.3
    • Fix Version/s: None
    • Component/s: AQL
    • Labels:
      None
    • Environment:

      linux, Artifactory HA

    • Regression:
      Yes

      Description

      We use an aql query to find docker images that haven't been downloaded for 6 months:

      items.find({"$and":[{"repo":{"$eq":"dockerv2-prod"}},\{"stat.downloaded" : {"$before":"6months"}},\{"name":{"$match":"manifest.json"}}]})

       

      This is no longer working after upgrade to 5.10.3 from 5.8.2

       

      I can query 2months and get results, but 6months returns no results.

      Our script uses a rule that leaves 5 docker tags for each image, regardless of age.  We have at least 12 images that are preserved by this rule and should continually be returned by the 6months query.  There are 833 images in the dockerv2-prod repository

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            davebo David Bottger
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: