Skip to content

debian: fix dedupable backend names#1978

Merged
BareosBot merged 11 commits intobareos:bareos-23from
sebsura:backport/bareos-23/fix-dedupable-renaming
Oct 22, 2024
Merged

debian: fix dedupable backend names#1978
BareosBot merged 11 commits intobareos:bareos-23from
sebsura:backport/bareos-23/fix-dedupable-renaming

Conversation

@sebsura
Copy link
Contributor

@sebsura sebsura commented Oct 9, 2024

Backport of PR #1977 to bareos-23

Differences:

  • does not include the just in time reservation default value change

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
  • Correct milestone is set
Source code quality (if there were changes to the original PR)
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

Backport quality

@sebsura sebsura added this to the 23.1.0 milestone Oct 9, 2024
@sebsura sebsura self-assigned this Oct 9, 2024
@sebsura sebsura force-pushed the backport/bareos-23/fix-dedupable-renaming branch 2 times, most recently from 074481e to 6a1a99b Compare October 9, 2024 08:27
@arogge arogge modified the milestones: 23.1.0, 23.1.1 Oct 10, 2024
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review and testing done. Nice work!

@sebsura sebsura force-pushed the backport/bareos-23/fix-dedupable-renaming branch from bd531b5 to d5d70bf Compare October 22, 2024 10:54
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we recheck if we really want to have jit on by default on 23?

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-",
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos Oct 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
{"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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I cleaned it up.

sebsura and others added 10 commits October 22, 2024 14:54
(cherry picked from commit 1dee6bb)
(cherry picked from commit ab42273)
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)
add `--no-psqlrc` to `psql` call

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
(cherry picked from commit a24c136)
@bruno-at-bareos bruno-at-bareos force-pushed the backport/bareos-23/fix-dedupable-renaming branch from d5d70bf to 66e5536 Compare October 22, 2024 13:08
@bruno-at-bareos bruno-at-bareos self-requested a review October 22, 2024 13:09
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final review, here we go green for merge.
Thx

@BareosBot BareosBot merged commit 9a35379 into bareos:bareos-23 Oct 22, 2024
@arogge arogge modified the milestones: 23.1.1, 23.1.0 Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants