Uploaded image for project: 'Coopr'
  1. Coopr
  2. COOPR-684

Improve SQL logic to fetch all resources with latest version

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.9.10 Code Name: Mensa
    • Component/s: server
    • Labels:
      None
    • Rank:
      1|hzylpr:

      Description

      From Albert Shau in https://github.com/caskdata/coopr/pull/898: this works right now, but is not efficient. It will also break if the "latest" version is not the max version. For example, if we want to support rolling back to an earlier version, we might want to tag the earlier version as "latest", but keep the higher version around. Can we open a jira and reference it in a comment here to improve this logic.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alvin Alvin Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: