debian: fix dedupable backend names#1978
Conversation
074481e to
6a1a99b
Compare
bruno-at-bareos
left a comment
There was a problem hiding this comment.
Review and testing done. Nice work!
bd531b5 to
d5d70bf
Compare
bruno-at-bareos
left a comment
There was a problem hiding this comment.
Can we recheck if we really want to have jit on by default on 23?
core/src/stored/stored_conf.cc
Outdated
| CFG_ITEM_DEFAULT | CFG_ITEM_PLATFORM_SPECIFIC, PATH_BAREOS_BACKENDDIR, NULL, NULL}, | ||
| #endif | ||
| {"JustInTimeReservation", CFG_TYPE_BOOL, ITEM(res_store, just_in_time_reservation), 0, CFG_ITEM_DEFAULT, "No", "24.0.0-", | ||
| {"JustInTimeReservation", CFG_TYPE_BOOL, ITEM(res_store, just_in_time_reservation), 0, CFG_ITEM_DEFAULT, "Yes", "23.1.0-", |
There was a problem hiding this comment.
I have a doubt for 23.1.0 that we want to change the default behavior of the release.
With 23.1.x we normally introduce a new technical feature jit in that case, but we certainly don't want to change the default, even if we know how good it can be and increase the global performance. This may be discussed around with the other devs.
| {"JustInTimeReservation", CFG_TYPE_BOOL, ITEM(res_store, just_in_time_reservation), 0, CFG_ITEM_DEFAULT, "Yes", "23.1.0-", | |
| {"JustInTimeReservation", CFG_TYPE_BOOL, ITEM(res_store, just_in_time_reservation), 0, CFG_ITEM_DEFAULT, "No", "23.1.0-", |
This is certainly a missed from previous submission.
There was a problem hiding this comment.
So I cleaned it up.
(cherry picked from commit 8700e9b)
(cherry picked from commit 6a629f8)
(cherry picked from commit f87e809)
(cherry picked from commit 137bcfd)
(cherry picked from commit 1dee6bb)
(cherry picked from commit ab42273)
(cherry picked from commit f1ad716)
The reservation related tests cannot run with jit reservation as they try to check for an actual reservation which may not have taken place yet; or was announced differently. Either way the test will fail with jit reservation = Yes, so we need to explicitly disable it as it is the default now. (cherry picked from commit c452263)
(cherry picked from commit 076c83f)
add `--no-psqlrc` to `psql` call Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com> (cherry picked from commit a24c136)
d5d70bf to
66e5536
Compare
bruno-at-bareos
left a comment
There was a problem hiding this comment.
Final review, here we go green for merge.
Thx
Backport of PR #1977 to bareos-23
Differences:
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 (if there were changes to the original PR)
Backport quality