Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-19871

Delta Bundle Sync for Managed Clusters and Policies

XMLWordPrintable

    • GH Train-30
    • Critical
    • None

      Value Statement

      Ensure the issue title clearly reflects the value of this user story to the
      intended persona. (Explain the "WHY")

      Definition of Done for Engineering Story Owner (Checklist)

      Based on the bundle sync consolidate solution provided by the spike story: https://issues.redhat.com/browse/ACM-21905.

      The current user story should contains the following cases:

      • Define the bundle support both full and delta updates between global hub and managed hub
      • Change the global hub agent with related syncer can sync the bundle with full and delta mode
        • The agent sync the delta bundle when:
          • 1. the bundle size is up to 1 MiB;
          • 2. There are some new update in the bundle during the last 5 seconds
        • The agent sync the full bundle(resync) when:
          • 1. the manager request resync the bundle(manager start);
          • 2. the agent is starting
          • 3. resync interval, current with 5 hours
      • Manager updates
        • Modify the manager handler can process the new bundle for managed and cluster
        • Add the logic in the manager conflation to support the new bundle deliver, avoid the race condition in bundle handler

      Development Complete

      • The code is complete.
      • The policy and managed cluster should sync into the database
      • The policy with the 4 MiB should be synced into the database with the new bundle sync mode
      • Any required downstream Docker file changes are made.

      Tests Automated

      • [x] Unit/function tests have been automated and incorporated into the
        build.
      • [x] 100% automated unit/function test coverage for new or changed APIs.

      Secure Design

      • [ ] Security has been assessed and incorporated into your threat model.

      Multidisciplinary Teams Readiness

      • [ ] Create an informative documentation issue using the Customer

      Portal Doc template that you can access from [The Playbook](

      https://docs.google.com/document/d/1YTqpZRH54Bnn4WJ2nZmjaCoiRtqmrc2w6DdQxe_yLZ8/edit#heading=h.9fvyr2rdriby),

      and ensure doc acceptance criteria is met.

      • Call out this sentence as it's own action:
      • [ ] Link the development issue to the doc issue.

      Support Readiness

      • [ ] The must-gather script has been updated.

              rh-ee-myan Meng Yan
              daliu@redhat.com DangPeng Liu
              Hui Chen Hui Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: