Skip to content

Commit

Permalink
Merge pull request #912
Browse files Browse the repository at this point in the history
Fix Issue #1334: Allow removal of orphaned storages from catalog
  • Loading branch information
arogge committed Sep 22, 2021
2 parents c77b6e0 + dfac0ab commit 3eb2193
Show file tree
Hide file tree
Showing 13 changed files with 618 additions and 241 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -49,6 +49,7 @@ and since Bareos version 20 this project adheres to [Semantic Versioning](https:
- fix director crash on "update slots" when there is a parsing issue with the autochanger or tape devices [PR #919]
- [Issue #1232]: bareos logrotate errors, reintroduce su directive in logrotate [PR #918]
- fix scheduler running disabled jobs after executing the disable command [PR #924]
- [Issue #1334]: After deleting storage from the configuration, it still persists in the catalog db [PR #912]

### Added
- systemtests: allows multiple subtests per systemtest [PR #857]
Expand All @@ -72,6 +73,8 @@ and since Bareos version 20 this project adheres to [Semantic Versioning](https:
- packages: Build also for Fedora_34 [PR #869]
- packages: Build also for Debian_11 [PR #914]
- add job name in End Job Session output in bls tool [PR #916]
- added check for orphaned storages in dbcheck [PR #912]
- added option to delete selected storage in bconsole if it is orphaned [PR #912]

### Changed
- core: systemd service: change daemon type from forking to simple and start daemons in foreground [PR #824]
Expand Down Expand Up @@ -204,6 +207,7 @@ and since Bareos version 20 this project adheres to [Semantic Versioning](https:
[PR #903]: https://github.com/bareos/bareos/pull/903
[PR #907]: https://github.com/bareos/bareos/pull/907
[PR #910]: https://github.com/bareos/bareos/pull/910
[PR #912]: https://github.com/bareos/bareos/pull/912
[PR #914]: https://github.com/bareos/bareos/pull/914
[PR #918]: https://github.com/bareos/bareos/pull/918
[PR #919]: https://github.com/bareos/bareos/pull/919
Expand Down
5 changes: 3 additions & 2 deletions core/src/dird/CMakeLists.txt
Expand Up @@ -34,6 +34,7 @@ set(DIRD_OBJECTS_SRCS
catreq.cc
check_catalog.cc
consolidate.cc
dbcheck_utils.cc
dird_globals.cc
dir_plugins.cc
dird_conf.cc
Expand Down Expand Up @@ -118,8 +119,8 @@ if(HAVE_WIN32)
)
endif()

set(DBCHKSRCS dbcheck.cc dird_conf.cc dird_globals.cc ua_acl.cc ua_audit.cc
run_conf.cc inc_conf.cc
set(DBCHKSRCS dbcheck.cc dbcheck_utils.cc dird_conf.cc dird_globals.cc
ua_acl.cc ua_audit.cc run_conf.cc inc_conf.cc
)
if(HAVE_WIN32)
list(APPEND DBCHKSRCS ../win32/dird/dbcheckres.rc)
Expand Down

0 comments on commit 3eb2193

Please sign in to comment.