[pbs-devel] [PATCH proxmox/proxmox-backup/widget-toolkit] improve task list handling
Dominik Csapak
d.csapak at proxmox.com
Fri Sep 25 16:13:13 CEST 2020
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
proxmox:
Dominik Csapak (3):
proxmox/tools/fs: add shared lock helper
proxmox/tools/fs: create tmpfile helper
proxmox/tools: add logrotate module
proxmox/Cargo.toml | 1 +
proxmox/src/tools/fs.rs | 52 ++++++---
proxmox/src/tools/logrotate.rs | 188 +++++++++++++++++++++++++++++++++
proxmox/src/tools/mod.rs | 1 +
4 files changed, 226 insertions(+), 16 deletions(-)
create mode 100644 proxmox/src/tools/logrotate.rs
proxmox-backup:
Dominik Csapak (10):
api2/node/tasks: move userfilter to function signature
server/worker_task: refactor locking of the task list
server/worker_task: factor out task list rendering
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 | 49 +++--
src/api2/status.rs | 32 +++-
src/bin/proxmox-backup-proxy.rs | 96 ++++++++++
src/server/worker_task.rs | 313 +++++++++++++++++++++++---------
4 files changed, 373 insertions(+), 117 deletions(-)
proxmox-widget-toolkit:
Dominik Csapak (1):
node/Tasks: improve scroller behaviour on datastore loading
src/node/Tasks.js | 8 ++++++++
1 file changed, 8 insertions(+)
--
2.20.1
More information about the pbs-devel
mailing list