Uploaded image for project: 'OCP Technical Release Team'
  1. OCP Technical Release Team
  2. TRT-274

Investigate historical sippy options

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • None

      Proposal 1

      • Adjust all time based queries to use an AT time window instead of assuming NOW().
      • Move materialized views back to dynamically managed as they were prior to goose, including string substitution in the definitions. We'll use this also to adjust from NOW() to some other point in time.
      • Introduce ?at=4.10GA query param to js UI and API calls where applicable. Fixed set of keys supported which map to a specific point in time. When specified, the API will automatically look back from this time.
      • Introduce dropdown for all supported "at" keys in the UI, persisted across your session once selected.
      • Autogenerate duplicate matviews from the normal definitions, but using the "at" time as a starting point instead of NOW().

      Manual Alternatives

      Cache historical API responses in git, compare manually.
      Cache historical DB data in separate tables, compare manually.
      Cache historical DB data in separate DBs, compare manually.

      Another Alternative

      Improve db sippy to better assume "last updated time" instead of NOW() for all matviews and queries. This would make it simpler to keep a historical db live and dormant, and a sippy instance running to point to it.

              rh-ee-fbabcock Forrest Babcock
              rhn-engineering-dgoodwin Devan Goodwin
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: