Changesets: bareos
master adf284c3 2024-11-11 15:34 Bareos Bot Ported: N/A Details Diff |
Update CHANGELOG.md | ||
mod - CHANGELOG.md | Diff File | ||
master 016358eb 2024-11-11 12:13 Ported: N/A Details Diff |
fix bareos-dir-config-schema.json | ||
mod - docs/manuals/source/include/autogenerated/bareos-dir-config-schema.json | Diff File | ||
master f5be8713 2024-11-11 10:23 Committer: Bareos Bot Ported: N/A Details Diff |
cmake: build test fd with file limit enabled | ||
mod - core/src/filed/CMakeLists.txt | Diff File | ||
mod - core/src/filed/backup.h | Diff File | ||
mod - systemtests/CMakeLists.txt | Diff File | ||
master edd3c639 2024-11-11 09:15 Ported: N/A Details Diff |
findlib, filed: remove fo->base traces | ||
mod - core/src/filed/dir_cmd.cc | Diff File | ||
mod - core/src/filed/fileset.cc | Diff File | ||
mod - core/src/findlib/find.cc | Diff File | ||
master aa51eadd 2024-11-08 14:43 Committer: Bareos Bot Ported: N/A Details Diff |
mssql TearDownVdiDevice: enhance error reporting | ||
mod - core/src/win32/plugins/filed/mssqlvdi-fd.cc | Diff File | ||
master 94bba01b 2024-11-08 12:53 Committer: Bareos Bot Ported: N/A Details Diff |
build bareos-test-fd | ||
mod - core/src/filed/CMakeLists.txt | Diff File | ||
master 2be1d583 2024-11-08 12:25 Ported: N/A Details Diff |
findlib: remove BaseJobOpts and base | ||
mod - core/src/filed/fileset.cc | Diff File | ||
mod - core/src/findlib/find.cc | Diff File | ||
mod - core/src/findlib/find.h | Diff File | ||
master c366bcba 2024-11-08 12:08 Ported: N/A Details Diff |
inc_conf.cc: cleanup INC_KW_BASEJOB and more | ||
mod - core/src/dird/inc_conf.cc | Diff File | ||
master eb6eb724 2024-11-08 12:03 Ported: N/A Details Diff |
testing_dir_common.cc: remove debug_level setting | ||
mod - core/src/tests/testing_dir_common.cc | Diff File | ||
master 9fa34d26 2024-11-08 12:02 Ported: N/A Details Diff |
inc_conf.cc: remove PERMITTED_BASEJOB_OPTIONS | ||
mod - core/src/dird/inc_conf.cc | Diff File | ||
master 2eeb3b5b 2024-11-08 07:47 Bareos Bot Committer: GitHub Ported: N/A Details Diff |
Merge pull request #1994 add Honor No Dump Flag to config output |
||
mod - CHANGELOG.md | Diff File | ||
mod - core/src/dird/dird_conf.cc | Diff File | ||
mod - core/src/dird/inc_conf.cc | Diff File | ||
mod - docs/manuals/source/include/autogenerated/bareos-dir-config-schema.json | Diff File | ||
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-full.conf.in | Diff File | ||
master 670bea2a 2024-11-08 07:47 Bareos Bot Ported: N/A Details Diff |
Update CHANGELOG.md | ||
mod - CHANGELOG.md | Diff File | ||
master b50ae922 2024-11-07 15:20 Sebastian Sura Ported: N/A Details Diff |
config-dump: update test to include HonorNoDumpFlag | ||
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-full.conf.in | Diff File | ||
master 703ae865 2024-11-07 14:40 Sebastian Sura Ported: N/A Details Diff |
cats: remove unnecessary macros The removed macros were just used to inject line information into the db calls. As this can now just be done by using source_location we can remove them and just use proper functions. |
||
mod - core/src/cats/bvfs.cc | Diff File | ||
mod - core/src/cats/cats.h | 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_update.cc | Diff File | ||
master 6e18f924 2024-11-07 14:39 Sebastian Sura Ported: N/A Details Diff |
cats: enhance dblocker by adding line info We used to supply LockDb/UnlockDb with pretty useless line numbers as they were always the same regardless of which DbLocker it actually was. Now we use the line information of the creation of the DbLocker. |
||
mod - core/src/cats/cats.h | Diff File | ||
master c87856c9 2024-11-07 14:37 Sebastian Sura Ported: N/A Details Diff |
rwlock: enhance debugability Now we get some line numbers in the assertion which should help us figuring out the problem in case no backtrace is available. |
||
mod - core/src/cats/cats.h | Diff File | ||
mod - core/src/lib/rwlock.cc | Diff File | ||
mod - core/src/lib/rwlock.h | Diff File | ||
master 2554379f 2024-11-07 14:23 Committer: Bareos Bot Ported: N/A Details Diff |
cmake: use VERSION_GREATER_EQUAL PG version 10 Our plugin is able to work with PostgreSQL 10. Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com> |
||
mod - systemtests/tests/py3plug-fd-postgresql/CMakeLists.txt | Diff File | ||
master 7ad95450 2024-11-07 13:36 Sebastian Sura Ported: N/A Details Diff |
wrap-test: fix missing <memory> include | ||
mod - core/src/tests/wrap.cc | Diff File | ||
master bae62f42 2024-11-07 10:40 Sebastian Sura Ported: N/A Details Diff |
lib: add source_location polyfill | ||
mod - core/cmake/BareosCheckFunctions.cmake | Diff File | ||
mod - core/src/include/config.h.in | Diff File | ||
add - core/src/lib/source_location.h | Diff File | ||
mod - core/src/win32/compat/include/mingwconfig.h | Diff File | ||
master ed1af63f 2024-11-07 09:22 Sebastian Sura Ported: N/A Details Diff |
sql: remove bad assertion This function is only called when everything is stopped, so we should not assert that we are the owner here ... |
||
mod - core/src/cats/sql.cc | Diff File | ||
master 1d8529a3 2024-11-07 08:21 Sebastian Sura Ported: N/A Details Diff |
msgchan: make crash less likely Behind the curtains pthread_cleanup_pop is a destructor and pthread_cancel causes an exception (via a signal). This means that if you try to cancel a job while that job is in the process of ending, then you risk an unfixable crash. We want to make this less likely and move the CleanupCall outside the destructor. Note that this is just bandaid and not a real fix. There are still multiple other destructors and pthread_cleanup_calls inside the call stack, so this can always cause a crash. The only way to prevent these crashes (even if they are very unlikely) is to rewrite everything to not rely on pthread_cancel and instead use some other mechanism for cancelation. This is very hard as we also have to be able to cancel stuff like write/read/sleep/etc. We would have to rewrite them with non blocking alternatives to have a chance of achieving this (or by using the TIMEOUT signal, but that has other issues ~> signal (un)safety). |
||
mod - core/src/dird/msgchan.cc | Diff File | ||
master 0901b6f6 2024-11-06 15:34 Committer: Bareos Bot Ported: N/A Details Diff |
plugins: postgresql add support for version 17 - add support for PostgreSQL version 17, we now use dedicated function pg_walfile_name_offset to retrieve filename and check if offset is 0. - database_local: set checkpoint timeout lower. - add support for nanosecond integer resolution. + use ns in self.last_backup_stop_time as datetime object are not serializable. + use ns for start_backup_time and remove datetime usage for file comparison. + this support allow the plugin to not backup each time the latest wal file. - add fix for pg8000 < 1.30 returning a string instead tuple with pg_walfile_name_offset. - add a check if ROP last_time_backup is large enough or convert it to ns (ease plugin version migration). - remove unused modules datetime dateutil. - use constant for `NANOSECONDS_PER_SECOND` and `LAST_BACKUP_TIME_WITH_SECONDS` - limit if/else block by using global functions current_time_ns() - add comment about time.time_ns() when to remove it (python 3.7 eol) - use directly os.stat().st_mtime_ns it has been introduced in python 3.3 and we don't support python <= 3.6. - add comment about checkpoint_timeout parameter in setup-local-db. - use stat_obj instead of stat to avoid keyword redefining. - improve docstring for __decode_lsn_filename_offset which return True. - remove unused lsn parameter from __wait_for_wal_archiving. - add debug message when LAST_BACKUP_TIME_WITH_SECONDS is hit. Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com> Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com> |
||
mod - core/src/plugins/filed/python/postgresql/bareos-fd-postgresql.py | Diff File | ||
mod - systemtests/tests/py3plug-fd-postgresql/database/setup_local_db.sh | Diff File | ||
master 758e1646 2024-11-06 15:15 Sebastian Sura Ported: N/A Details Diff |
postgresql: fix race condition on connection We should never use db_handle_ without ensuring that the db is locked (which infact is not the case here). |
||
mod - core/src/cats/postgresql.cc | Diff File | ||
master 5c27c961 2024-11-06 12:23 Bareos Bot Committer: GitHub Ported: N/A Details Diff |
Merge pull request #1992 stored: fix volume size mismatch |
||
mod - CHANGELOG.md | Diff File | ||
mod - core/src/include/version_hex.h | Diff File | ||
mod - core/src/plugins/filed/python/python-fd.cc | Diff File | ||
mod - core/src/stored/mount.cc | Diff File | ||
master 9862c250 2024-11-06 12:23 Bareos Bot Ported: N/A Details Diff |
Update CHANGELOG.md | ||
mod - CHANGELOG.md | Diff File |