all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup v2 0/9] improve task list handling
@ 2020-09-28 13:32 Dominik Csapak
  2020-09-28 13:32 ` [pbs-devel] [PATCH proxmox-backup v2 1/9] tools: add logrotate module Dominik Csapak
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Dominik Csapak @ 2020-09-28 13:32 UTC (permalink / raw)
  To: pbs-devel

this series extends the task handling in a way so that we can safely
have more than 1000 tasks and properly filter and read them

this also introduces a daily task to rotate the now existing
task archive when it is over 500k up to maximum 20 files

strictly speaking the widget-toolkit patch is not necessary, but makes
the user interface a bit better to use

changes from v1:
* rebases on master
* move the logrotate to proxmox-backup
* use zstd in logrotate instead of gzip
* TaskListInfoIterator now has an option to only return the 'active' tasks
  (this is a performance optimization)

NOTE: i did not resend the widget-toolkit patch, but i would still
recommend that it gets applied

Dominik Csapak (9):
  tools: add logrotate module
  server/worker_task: refactor locking of the task list
  server/worker_task: split task list file into two
  server/worker_task: write older tasks into archive file
  server/worker_task: add TaskListInfoIterator
  api2/node/tasks: use TaskListInfoIterator instead of read_task_list
  api2/status: use the TaskListInfoIterator here
  server/worker_task: remove unecessary read_task_list
  proxmox-backup-proxy: add task archive rotation

 src/api2/node/tasks.rs          |  52 +++---
 src/api2/status.rs              |  32 +++-
 src/bin/proxmox-backup-proxy.rs |  96 ++++++++++
 src/server/worker_task.rs       | 300 ++++++++++++++++++++++++--------
 src/tools.rs                    |   1 +
 src/tools/logrotate.rs          | 184 ++++++++++++++++++++
 6 files changed, 553 insertions(+), 112 deletions(-)
 create mode 100644 src/tools/logrotate.rs

-- 
2.20.1





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-09-29  7:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-28 13:32 [pbs-devel] [PATCH proxmox-backup v2 0/9] improve task list handling Dominik Csapak
2020-09-28 13:32 ` [pbs-devel] [PATCH proxmox-backup v2 1/9] tools: add logrotate module Dominik Csapak
2020-09-28 13:32 ` [pbs-devel] [PATCH proxmox-backup v2 2/9] server/worker_task: refactor locking of the task list Dominik Csapak
2020-09-28 13:32 ` [pbs-devel] [PATCH proxmox-backup v2 3/9] server/worker_task: split task list file into two Dominik Csapak
2020-09-28 13:32 ` [pbs-devel] [PATCH proxmox-backup v2 4/9] server/worker_task: write older tasks into archive file Dominik Csapak
2020-09-28 13:32 ` [pbs-devel] [PATCH proxmox-backup v2 5/9] server/worker_task: add TaskListInfoIterator Dominik Csapak
2020-09-28 13:32 ` [pbs-devel] [PATCH proxmox-backup v2 6/9] api2/node/tasks: use TaskListInfoIterator instead of read_task_list Dominik Csapak
2020-09-28 13:32 ` [pbs-devel] [PATCH proxmox-backup v2 7/9] api2/status: use the TaskListInfoIterator here Dominik Csapak
2020-09-28 13:32 ` [pbs-devel] [PATCH proxmox-backup v2 8/9] server/worker_task: remove unecessary read_task_list Dominik Csapak
2020-09-28 13:32 ` [pbs-devel] [PATCH proxmox-backup v2 9/9] proxmox-backup-proxy: add task archive rotation Dominik Csapak
2020-09-29  7:16 ` [pbs-devel] applied: [PATCH proxmox-backup v2 0/9] improve task list handling Dietmar Maurer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal