-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve default configuration #1508
improve default configuration #1508
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
7688f74
to
44631a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
29dcdbe
to
4832ed8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found some trailing whitespace
docs/manuals/source/TasksAndConcepts/UsingTapeDrivesWithoutAutochanger.rst
Outdated
Show resolved
Hide resolved
My topics are covered and sebsura is already doing a good review job.
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
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-tool
to have some simple automated checks run and a proper changelog record added.General
Source code quality