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

Only gc the oldest report/event partition in the normal case

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 6.13.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      HA
    • Story Points:
      3
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Hide
      PuppetDB will only drop the oldest report or events partition during the normal, periodic gc when there's more than one candidate. This is intended to decrease the length of time we might block pdb operations since with the current arrangement, the drop will attempt to acquire an exclusive lock on the entire table (i.e. reports, not just the partition), and so will block all subsequent access to that table, until it finishes.
      Show
      PuppetDB will only drop the oldest report or events partition during the normal, periodic gc when there's more than one candidate. This is intended to decrease the length of time we might block pdb operations since with the current arrangement, the drop will attempt to acquire an exclusive lock on the entire table (i.e. reports, not just the partition), and so will block all subsequent access to that table, until it finishes.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Only drop the oldest report or events partition during the normal, periodic gc, when there's more than one candidate. This is intended to decrease the length of time we might block pdb operations since with the current arrangement, the drop will attempt to acquire an exclusive lock on the entire table (i.e. reports, not just the partition), and so will block all subsequent access to that table, until it finishes.

        Attachments

          Activity

            People

            Assignee:
            rob.browning Rob Browning
            Reporter:
            rob.browning Rob Browning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support