Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-4442

mender-inventory-mender-configure optimization: Only submit values that have changed

    XMLWordPrintable

    Details

      Description

      Acceptance criteria:

      • After a successful report call by mender-inventory-mender-configure, a checksum of the current configuration is stored in /var/lib/mender-configure/device-config-reported.sha256
        • sync-safe semantics must be used to save this file (see safe_copy in MEN-4371).
      • If, when called, this file exists, and has the same checksum as /var/lib/mender-configure/device-config.json, skip reporting.
      • Unit test

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10040 Kristian Amlie
                Reporter:
                a10040 Kristian Amlie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support