Changesets: bareos

master 89f6df97

2022-02-02 11:53

Andreas Rogge

Ported: N/A

Details Diff
tests: disable test_backtrace under asan

Backtracing doesn't seem to be compatible to address sanitizing. So we
disable the backtrace test if asan is enabled.
mod - core/src/tests/CMakeLists.txt Diff File

master 1813d6d3

2022-02-02 11:21

Andreas Rogge

Ported: N/A

Details Diff
fix memory leaks related to globbing_test
mod - core/src/dird/ua_tree.cc Diff File
mod - core/src/lib/tree.cc Diff File
mod - core/src/tests/globbing_test.cc Diff File

master 45e22d00

2022-02-01 15:49

bruno-at-bareos

Ported: N/A

Details Diff
Improve documentation and helper scripts

- doc: better formulate capabilities introduction and systemd part
Reorder helper set/unset/check presentation
- helper: reorder actions to chgrp, chmod, setcap

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - core/scripts/bareos-config-lib.sh.in Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins/StorageDaemonPlugins/ScsicryptoSd.rst.inc Diff File

master e38c2b75

2022-02-01 15:17

pstorz


Committer: arogge

Ported: N/A

Details Diff
ndmp_tape.cc: call GeneratePluginEvent for all streams
mod - core/src/stored/ndmp_tape.cc Diff File

master d79d2da9

2022-02-01 11:46

arogge


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001015

cats: failed update message when updating all volumes from all pools
mod - CHANGELOG.md Diff File
mod - core/src/cats/bvfs.cc Diff File
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/mysql.cc Diff File
mod - core/src/cats/mysql_batch.cc Diff File
mod - core/src/cats/postgresql.cc Diff File
mod - core/src/cats/sql.cc Diff File
mod - core/src/cats/sql_create.cc Diff File
mod - core/src/cats/sql_delete.cc Diff File
mod - core/src/cats/sql_find.cc Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/cats/sql_list.cc Diff File
mod - core/src/cats/sql_query.cc Diff File
mod - core/src/cats/sql_update.cc Diff File
mod - core/src/cats/sqlite.cc Diff File
mod - core/src/dird/autoprune.cc Diff File
mod - core/src/dird/catreq.cc Diff File
mod - core/src/dird/newvol.cc Diff File
mod - core/src/dird/next_vol.cc Diff File
mod - core/src/dird/ua_prune.cc Diff File
mod - core/src/dird/ua_purge.cc Diff File
mod - core/src/dird/ua_update.cc Diff File
add - systemtests/tests/python-bareos/test_update_all_volumes_all_pools.py Diff File

master a596d17d

2022-01-31 18:57

Andreas Rogge

Ported: N/A

Details Diff
lib: extract memory management from htable

The original htable provided a buffer-based memory-allocator. This
functionality is now extracted into its own class MonotonicBuffer. While
the functionality should have been provided by
std::pmr::monotonic_buffer_resource, we still need to support
c++ standard libraries that don't support this.
mod - core/src/dird/ndmp_fhdb_mem.cc Diff File
mod - core/src/findlib/find.h Diff File
mod - core/src/lib/CMakeLists.txt Diff File
mod - core/src/lib/htable.cc Diff File
mod - core/src/lib/htable.h Diff File
add - core/src/lib/monotonic_buffer.cc Diff File
add - core/src/lib/monotonic_buffer.h Diff File
mod - core/src/lib/tree.h Diff File
mod - core/src/tests/htable_test.cc Diff File

master 32a759d0

2022-01-31 18:23

frank

Ported: N/A

Details Diff
webui: extend job view (job timeline)

- introduce nav-tabs clients and jobs
- introduce changeNoDataText function
- change wording in some places
- fix css indentation
- change modal-004 size
- adjust customized chart tooltip
mod - webui/module/Job/view/job/job/timeline.phtml Diff File

master bbf86d31

2022-01-31 18:20

frank

Ported: N/A

Details Diff
webui: extend job model (job timeline)

- introduce getJobsForPeriodByJobname method
mod - webui/module/Job/src/Job/Model/JobModel.php Diff File

master 64b05178

2022-01-31 18:19

frank

Ported: N/A

Details Diff
webui: extend job controller (job timeline)

- introduce timelinejobs controller action
- introduce endpoint all-job-resources
- introduce endpoint job-timeline
- rename endpoint timeline to client-timeline
mod - webui/module/Job/src/Job/Controller/JobController.php Diff File

master 382f73c2

2022-01-31 17:28

pstorz


Committer: arogge

Ported: N/A

Details Diff
read_record.cc: remove unneeded free records
mod - core/src/stored/ndmp_tape.cc Diff File
mod - core/src/stored/read_record.cc Diff File

master d2cde678

2022-01-31 15:13

Andreas Rogge

Ported: N/A

Details Diff
dird: fix call on null object

if jcr->batch_started == false, then also jcr->db_batch == NULL.
Therefore we should not call jcr->db_batch->WriteBatchFileRecords(), as
it would call the method on the NULL object (which might be perfectly
safe in this specific case, but is undefined behaviour).
mod - core/src/dird/backup.cc Diff File

master 59fd6feb

2022-01-31 14:54

Andreas Rogge

Ported: N/A

Details Diff
lib: only unlink() when we have a pidfile
mod - core/src/lib/bsys.cc Diff File

master a85f7f2d

2022-01-31 14:54

Andreas Rogge

Ported: N/A

Details Diff
lib: fix off-by-one error in edit_pthread()
mod - core/src/lib/edit.cc Diff File

master f54a490a

2022-01-31 14:06

pstorz


Committer: arogge

Ported: N/A

Details Diff
ndmp_tape: cleanup
mod - core/src/stored/ndmp_tape.cc Diff File

master 6099ca5d

2022-01-31 14:01

pstorz


Committer: arogge

Ported: N/A

Details Diff
ndmp_tape.cc: add message how device needs to be setup in error message
mod - core/src/stored/ndmp_tape.cc Diff File

master 5b22a99a

2022-01-31 13:04

pstorz


Committer: arogge

Ported: N/A

Details Diff
ndmp_tape.cc: use ok variable
mod - core/src/stored/ndmp_tape.cc Diff File

master eec82800

2022-01-28 18:04

Andreas Rogge

Ported: N/A

Details Diff
lib: remove pointer-artihmetic from hlist<>

Previously hlist<> got two pointers on construction that were used to
determine the offset of T::link at runtime. As this is now done at
compile-time, the pointer-arithmetic is not needed anymore and
construction doesn't need the pointers anymore.
This patch removes the pointers, finally removing the undefined
behaviour from hlist.
mod - core/src/cats/bvfs.cc Diff File
mod - core/src/dird/ndmp_fhdb_mem.cc Diff File
mod - core/src/filed/accurate_htable.cc Diff File
mod - core/src/findlib/hardlink.cc Diff File
mod - core/src/lib/htable.cc Diff File
mod - core/src/lib/htable.h Diff File
mod - core/src/lib/path_list.cc Diff File
mod - core/src/lib/tree.cc Diff File
mod - core/src/tests/htable_test.cc Diff File

master 4e68f7db

2022-01-28 17:49

Andreas Rogge

Ported: N/A

Details Diff
lib: make htable buffersize a template parameter

Previously you could name the number of pages you wanted htable to
allocate per BigBuf when calling the constructor. This can now be
selected as small/medium/large as a template parameter. As before the
default is large to provide best performance, but also produce maximum
overhead.
mod - core/src/dird/ndmp_fhdb_mem.cc Diff File
mod - core/src/findlib/find.h Diff File
mod - core/src/findlib/hardlink.cc Diff File
mod - core/src/lib/htable.h Diff File
mod - core/src/lib/tree.cc Diff File
mod - core/src/lib/tree.h Diff File

master d0e6d57c

2022-01-28 17:22

Alaa Eddine Elamri

Ported: N/A

Details Diff
applying `bareos-check-sources`
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/stats.h Diff File
mod - core/src/stored/sd_stats.cc Diff File
mod - core/src/stored/sd_stats.h Diff File
mod - core/src/stored/stored_conf.cc Diff File
mod - core/src/tests/CMakeLists.txt Diff File
mod - core/src/tests/addresses_and_ports.cc Diff File
mod - core/src/tests/bsock_test_connection_setup.cc Diff File
mod - core/src/tests/dir_statistics_thread.cc Diff File
mod - core/src/tests/sd_statistics_thread.cc Diff File
mod - core/src/tests/testing_common.h Diff File
mod - core/src/tests/testing_dir_common.cc Diff File
mod - core/src/tests/testing_dir_common.h Diff File
mod - core/src/tests/testing_sd_common.cc Diff File
mod - core/src/tests/testing_sd_common.h Diff File

master a27e023f

2022-01-28 17:21

Andreas Rogge

Ported: N/A

Details Diff
lib: refactor htable and htableImpl

* remove parameter nr_entries that is not used by any caller
* extract calculation of loffset out of htableImpl::init()
* delay allocation of BigBuf to first call of hash_malloc()
* require second initialization pointer to be of type hlink*
mod - core/src/lib/htable.cc Diff File
mod - core/src/lib/htable.h Diff File

master 21d42038

2022-01-28 15:25

Alaa Eddine Elamri

Ported: N/A

Details Diff
dird: stored: error messages when statistics thread is not started
mod - core/src/dird/stats.cc Diff File
mod - core/src/stored/sd_stats.cc Diff File

master 25aef1e6

2022-01-28 15:23

Alaa Eddine Elamri

Ported: N/A

Details Diff
systemtest: preparing test for sd statistics thread
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/configs/statistics_thread/sd_statistics_thread/default_config/bareos-sd.d/device/tape1.conf Diff File
add - core/src/tests/configs/statistics_thread/sd_statistics_thread/default_config/bareos-sd.d/storage/myself.conf Diff File
add - core/src/tests/configs/statistics_thread/sd_statistics_thread/only_collect_set/bareos-sd.d/device/tape1.conf Diff File
add - core/src/tests/configs/statistics_thread/sd_statistics_thread/only_collect_set/bareos-sd.d/storage/myself.conf Diff File
add - core/src/tests/configs/statistics_thread/sd_statistics_thread/only_interval_set/bareos-sd.d/device/tape1.conf Diff File
add - core/src/tests/configs/statistics_thread/sd_statistics_thread/only_interval_set/bareos-sd.d/storage/myself.conf Diff File
add - core/src/tests/sd_statistics_thread.cc Diff File
add - core/src/tests/testing_sd_common.cc Diff File
add - core/src/tests/testing_sd_common.h Diff File

master d71cbfbc

2022-01-28 15:23

Alaa Eddine Elamri

Ported: N/A

Details Diff
stored: modify default statistics collection interval value
mod - core/src/stored/sd_stats.cc Diff File
mod - core/src/stored/sd_stats.h Diff File
mod - core/src/stored/stored_conf.cc Diff File

master 2b28641e

2022-01-28 15:21

Alaa Eddine Elamri

Ported: N/A

Details Diff
systemtest: modify director test config paths
mod - core/src/tests/dir_statistics_thread.cc Diff File

master 87d1f026

2022-01-28 15:11

Alaa Eddine Elamri

Ported: N/A

Details Diff
testing: avoiding duplication of common testing tools

also refactoring addresses and ports test
mod - core/src/tests/CMakeLists.txt Diff File
mod - core/src/tests/addresses_and_ports.cc Diff File
mod - core/src/tests/bsock_test_connection_setup.cc Diff File
mod - core/src/tests/dir_statistics_thread.cc Diff File
add - core/src/tests/testing_common.h Diff File
add - core/src/tests/testing_dir_common.cc Diff File
add - core/src/tests/testing_dir_common.h Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 151 152 153 154 155 156 157 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last