Changesets: bareos

master 5a5e1f30

2022-01-28 15:10

Alaa Eddine Elamri

Ported: N/A

Details Diff
gtest: creating test for statistics_thread
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/configs/statistics_thread/default_config/bareos-dir.d/director/bareos-dir.conf Diff File
add - core/src/tests/configs/statistics_thread/default_config/bareos-dir.d/storage/File.conf Diff File
add - core/src/tests/configs/statistics_thread/only_collect_set/bareos-dir.d/director/bareos-dir.conf Diff File
add - core/src/tests/configs/statistics_thread/only_collect_set/bareos-dir.d/storage/File.conf Diff File
add - core/src/tests/configs/statistics_thread/only_interval_set/bareos-dir.d/director/bareos-dir.conf Diff File
add - core/src/tests/configs/statistics_thread/only_interval_set/bareos-dir.d/storage/File.conf Diff File
add - core/src/tests/dir_statistics_thread.cc Diff File

master 8398ea96

2022-01-28 15:07

Alaa Eddine Elamri

Ported: N/A

Details Diff
dir: don't start stats thread when no storage asks for it
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/stats.h Diff File

master 4b291648

2022-01-28 14:21

Andreas Rogge

Ported: N/A

Details Diff
lib: make htable into typesafe htable<Key,T>
mod - core/src/cats/bvfs.cc Diff File
mod - core/src/dird/ndmp_fhdb_mem.cc Diff File
mod - core/src/filed/accurate.h Diff File
mod - core/src/filed/accurate_htable.cc Diff File
mod - core/src/findlib/find.h Diff File
mod - core/src/findlib/hardlink.cc Diff File
mod - core/src/include/jcr.h Diff File
mod - core/src/lib/htable.h Diff File
mod - core/src/lib/path_list.cc Diff File
mod - core/src/lib/path_list.h Diff File
mod - core/src/lib/tree.cc Diff File
mod - core/src/lib/tree.h Diff File
mod - core/src/plugins/filed/cephfs/cephfs-fd.cc Diff File
mod - core/src/plugins/filed/gfapi/gfapi-fd.cc Diff File
mod - core/src/tests/htable_test.cc Diff File

master a09ad519

2022-01-28 13:16

Alaa Eddine Elamri

Ported: N/A

Details Diff
systemtest: updated autochanger test to have subtests
mod - systemtests/tests/autochanger/CMakeLists.txt Diff File
add - systemtests/tests/autochanger/test-setup Diff File
add - systemtests/tests/autochanger/testrunner-backup-restore Diff File

master 74b5a677

2022-01-28 12:30

Andreas Rogge

Ported: N/A

Details Diff
lib: wrap htable in a pimpl class
mod - core/src/findlib/hardlink.cc Diff File
mod - core/src/lib/htable.cc Diff File
mod - core/src/lib/htable.h Diff File

master a55e198a

2022-01-28 12:28

Andreas Rogge

Ported: N/A

Details Diff
lib: stop using htable::init()/htable::destroy()

This patch replaces uses if htable::init() with new htable() and uses of
htable::destroy() with either delete or std::destroy_at()
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/find_one.cc Diff File
mod - core/src/findlib/hardlink.cc 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 a9358e93

2022-01-28 10:57

Andreas Rogge

Ported: N/A

Details Diff
lib: construct MessageItemQueue correctly
mod - core/src/lib/message.cc Diff File

master 17c61058

2022-01-28 10:57

Andreas Rogge

Ported: N/A

Details Diff
console: always use ITEM() in console config
mod - core/src/console/console_conf.cc Diff File

master a098fca6

2022-01-27 21:30

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001048

systemtests: wait for mariadb shutdown
mod - CHANGELOG.md Diff File
mod - systemtests/tests/py2plug-fd-mariabackup/testrunner Diff File

master 3cf9cf7a

2022-01-27 18:29

Andreas Rogge

Ported: N/A

Details Diff
lib: make dlist<T> follow rule-of-five

This patch disables copy and move operations on dlist<T> as they won't
produce a meaningful result.
mod - core/src/lib/dlist.h Diff File

master 703f9651

2022-01-27 18:10

Andreas Rogge

Ported: N/A

Details Diff
lib: make dlist<dlistString> work correctly

This patch does some refactoring on dlistString to make it work
correctly with the new and type-safe dlist.
mod - core/src/lib/CMakeLists.txt Diff File
mod - core/src/lib/dlink.h Diff File
mod - core/src/lib/dlist_string.h Diff File

master eef7efdc

2022-01-27 17:51

Andreas Rogge

Ported: N/A

Details Diff
lib: remove pointer arithmetic from dlist
mod - core/src/lib/dlist.h Diff File

master 41639b56

2022-01-27 17:48

Alaa Eddine Elamri


Committer: Andreas Rogge

Ported: N/A

Details Diff
addresses_and_ports.cc: refactor

use only one configuration
making use of test fixtures
mod - core/src/tests/addresses_and_ports.cc Diff File

master 0be6f815

2022-01-27 17:17

Andreas Rogge

Ported: N/A

Details Diff
lib: remove support for dlist<void>
mod - core/src/lib/dlist.h Diff File

master e2f713bc

2022-01-27 17:11

Andreas Rogge

Ported: N/A

Details Diff
stored: change dlist<void> into dlist<ocbuf_item>
mod - core/src/stored/backends/chunked_device.cc Diff File
mod - core/src/stored/backends/ordered_cbuf.cc Diff File
mod - core/src/stored/backends/ordered_cbuf.h Diff File

master cc0ffbf9

2022-01-27 17:11

pstorz

Ported: N/A

Details Diff
update CHANGELOG.md
mod - CHANGELOG.md Diff File

master 6597ae86

2022-01-27 17:11

bruno-at-bareos

Ported: N/A

Details Diff
docs: update scsicrypto plugin chapter

- Explain how to use helper function
- Add note about the support in packages updates

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

master 4d1ee2dc

2022-01-27 17:01

Andreas Rogge

Ported: N/A

Details Diff
lib: remove old dlist constructor

This patch removes the now unneccessary dlist constructor (and all of
its uses).
mod - core/src/cats/mysql.cc Diff File
mod - core/src/cats/postgresql.cc Diff File
mod - core/src/cats/sqlite.cc Diff File
mod - core/src/dird/jobq.cc Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/ndmp_dma_storage.cc Diff File
mod - core/src/dird/sd_cmds.cc Diff File
mod - core/src/lib/address_conf.cc Diff File
mod - core/src/lib/bnet.cc Diff File
mod - core/src/lib/crypto_cache.cc Diff File
mod - core/src/lib/dlist.h Diff File
mod - core/src/lib/guid_to_name.cc Diff File
mod - core/src/lib/jcr.cc Diff File
mod - core/src/lib/mntent_cache.cc Diff File
mod - core/src/lib/watchdog.cc Diff File
mod - core/src/stored/backends/ordered_cbuf.cc Diff File
mod - core/src/stored/read_record.cc Diff File
mod - core/src/stored/sd_stats.cc Diff File
mod - core/src/stored/vol_mgr.cc Diff File
mod - core/src/tests/dlist_test.cc Diff File

master 74a39971

2022-01-27 16:18

Andreas Rogge

Ported: N/A

Details Diff
lib: make dlist always default-constructible

Previously, when dlist was default-constructed, it assumed to have T
have dlink<T> at offset 0.
This patch now calculates the offset of T::link within T. We also ensure
that the old parameterized constructor cannot be called incorrectly.

As all calls to init() and init(T*, dlink<T>*) have been removed, we
also remove these now unused functions.
mod - core/src/lib/dlist.h Diff File

master 22d6c7f6

2022-01-27 16:03

Alaa Eddine Elamri

Ported: N/A

Details Diff
cats: dird: refactoring of unnecessary return variable
mod - core/src/cats/postgresql.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_update.cc Diff File
mod - core/src/dird/newvol.cc Diff File

master d110a5ad

2022-01-27 15:54

Andreas Rogge

Ported: N/A

Details Diff
lib: rename MessageQueueItem member link_ to link

This makes MessageQueueItem comply with the upcoming requirements of
dlist<T>.
mod - core/src/lib/jcr.cc Diff File
mod - core/src/lib/message_queue_item.h Diff File

master 704032df

2022-01-27 15:52

Andreas Rogge

Ported: N/A

Details Diff
cats: make link member of database classes public

In preparation of changes to dlink<T> we make the link member public, so
it can be accessed by dlink<T>'s constructor in a clean fashion.
mod - core/src/cats/bdb_mysql.h Diff File
mod - core/src/cats/bdb_postgresql.h Diff File
mod - core/src/cats/bdb_sqlite.h Diff File

master fe1159f0

2022-01-27 15:33

Alaa Eddine Elamri

Ported: N/A

Details Diff
cats: dird: refactoring one-line bailouts resulted from previous commit
mod - core/src/cats/postgresql.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_update.cc Diff File
mod - core/src/dird/newvol.cc Diff File

master 6834970d

2022-01-27 13:39

Alaa Eddine Elamri

Ported: N/A

Details Diff
cats: dird: refactoring database locking
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_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

master cdcf02ae

2022-01-27 12:33

Alaa Eddine Elamri

Ported: N/A

Details Diff
cats: refactored INSERTDB to return number of affected rows
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql.cc Diff File
mod - core/src/cats/sql_create.cc Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 152 153 154 155 156 157 158 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last