← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1912579] [NEW] nova-manage db archive_deleted_rows with --until-complete runs row batches in a tight loop

 

Public bug reported:

Currently, when 'nova-manage db archive_deleted_rows' is run with the
--until-complete option, the process will archive rows in batches in a
tight loop, which can cause problems in busy environments where the
aggressive archiving interferes with other requests trying to write to
the database.

We could add a --sleep option for users to be able to specify a sleep
time in seconds to wait between archives of batches of rows to throttle
the process.

** Affects: nova
     Importance: Low
     Assignee: melanie witt (melwitt)
         Status: In Progress


** Tags: nova-manage

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1912579

Title:
  nova-manage db archive_deleted_rows with --until-complete runs row
  batches in a tight loop

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Currently, when 'nova-manage db archive_deleted_rows' is run with the
  --until-complete option, the process will archive rows in batches in a
  tight loop, which can cause problems in busy environments where the
  aggressive archiving interferes with other requests trying to write to
  the database.

  We could add a --sleep option for users to be able to specify a sleep
  time in seconds to wait between archives of batches of rows to
  throttle the process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1912579/+subscriptions


Follow ups