Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-1310

Make the 'deactivate node' command commute.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 3.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      3
    • Sprint:
      PuppetDB 2015-04-22, PuppetDB 2015-05-06, PuppetDB 2015-05-20

      Description

      For our sync mechanism to work, all the commands need to commute with each other. The ‘deactivate node’ command is not commutative with the other commands; they all activate a previously deactivated node. It’s hard to make this truly commutative, but we can get pretty close if we assume synchronized clocks (they’re not of course, but they should be close enough for this purpose) and lean on some of the timestamps. This may involve using the received time for the deactivate node command, passing the producer timestamp to maybe-activate-node!, or something else.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  russell.mull Russell Mull
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: