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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PDB 6.13.0
    • PuppetDB
    • None
    • HA
    • 3
    • Enhancement
    • 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.
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support