improve default configuration#1508
Merged
BareosBot merged 19 commits intobareos:masterfrom Aug 7, 2023
Merged
Conversation
sebsura
reviewed
Jul 12, 2023
sebsura
reviewed
Jul 12, 2023
sebsura
reviewed
Jul 12, 2023
sebsura
requested changes
Jul 13, 2023
Contributor
sebsura
left a comment
There was a problem hiding this comment.
Some small things need to be addressed. Keep in mind that documentation files should also have only 80 characters per line.
.../source/manually_added_config_directive_descriptions/dir-director-LogTimestampFormat.rst.inc
Outdated
Show resolved
Hide resolved
...source/manually_added_config_directive_descriptions/fd-filedaemon-LogTimestampFormat.rst.inc
Outdated
Show resolved
Hide resolved
...ls/source/manually_added_config_directive_descriptions/sd-storage-LogTimestampFormat.rst.inc
Outdated
Show resolved
Hide resolved
systemtests/tests/virtualfull-bscan/etc/bareos/bareos-dir.d/pool/Differential.conf
Outdated
Show resolved
Hide resolved
systemtests/tests/virtualfull-deletedfiles/etc/bareos/bareos-dir.d/pool/Differential.conf
Outdated
Show resolved
Hide resolved
sebsura
reviewed
Jul 13, 2023
sebsura
reviewed
Jul 13, 2023
7688f74 to
44631a9
Compare
sebsura
requested changes
Jul 14, 2023
Contributor
sebsura
left a comment
There was a problem hiding this comment.
I found some small things.
.../source/manually_added_config_directive_descriptions/dir-director-LogTimestampFormat.rst.inc
Outdated
Show resolved
Hide resolved
...source/manually_added_config_directive_descriptions/fd-filedaemon-LogTimestampFormat.rst.inc
Outdated
Show resolved
Hide resolved
...ls/source/manually_added_config_directive_descriptions/sd-storage-LogTimestampFormat.rst.inc
Outdated
Show resolved
Hide resolved
sebsura
reviewed
Jul 14, 2023
29dcdbe to
4832ed8
Compare
sebsura
requested changes
Jul 24, 2023
Contributor
sebsura
left a comment
There was a problem hiding this comment.
I think we can set the default log timestamp format in bareos itself.
.../source/manually_added_config_directive_descriptions/dir-director-LogTimestampFormat.rst.inc
Outdated
Show resolved
Hide resolved
...source/manually_added_config_directive_descriptions/fd-filedaemon-LogTimestampFormat.rst.inc
Outdated
Show resolved
Hide resolved
...ls/source/manually_added_config_directive_descriptions/sd-storage-LogTimestampFormat.rst.inc
Outdated
Show resolved
Hide resolved
joergsteffens
previously requested changes
Jul 24, 2023
sebsura
requested changes
Jul 24, 2023
Contributor
sebsura
left a comment
There was a problem hiding this comment.
Found some trailing whitespace
sebsura
reviewed
Jul 24, 2023
sebsura
reviewed
Jul 26, 2023
docs/manuals/source/TasksAndConcepts/UsingTapeDrivesWithoutAutochanger.rst
Outdated
Show resolved
Hide resolved
My topics are covered and sebsura is already doing a good review job.
sebsura
approved these changes
Aug 3, 2023
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- It is mandatory for data pool, because the recyclepoolid is not updated when a media is affected to this pool data. Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- replace compression GZIP by LZ4 - replace signature MD5 by XXH128 Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- test all signature options MD5,SHA1,SHA256,SHA512,XXH128 - test all compression options GZIP,GZIP(LEVEL),LZO,LZ4,LZ4HC Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- set lz4 as Auto Deflate Algorithm in FileStorage2 so different compression are tested. Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- some of the helper functions used unaligned memory access as an optimization. A quick look at godbolt.org showed that modern compilers emit the same code with or without those manual optimizations, so the unaligned accesses were removed to avoid relying on undefined behaviour. - core: compression free internal fastlz buffers Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
When you have a file with multiple hardlinks and the first hardlink encountered gets excluded, then no actual file data is send but the backup is still finishes without errors. On restore you will get an error. - hardlink fix camelcase output in dir_conf.cc - Add HardLink = No for config-dump and gluster systemtest Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- unify the use of "hard links" over mixed "hardlinks" - reformat reviewed paragraphs to line length 80 - apply check-sources recommendation and format Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com> Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com>
Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com> Co-authored-by: Jörg Steffens <joergsteffens@users.noreply.github.com>
- create new default json export Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- parameter start with Capital letter - value for compression and signature are fully uppercase - remove redondant default value in LogTimestampFormat Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com>
78e1c92 to
717509c
Compare
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR serve several improvements
It also updates the systemtests to use newer compression/checksum algorithms.
Please check
If you have any questions or problems, please give a comment in the PR.
Helpful documentation and best practices
Checklist for the reviewer of the PR (will be processed by the Bareos team)
Make sure you check/merge the PR using
devtools/pr-toolto have some simple automated checks run and a proper changelog record added.General
Source code quality