Skip to content

cli-test: fix test on freebsd#2241

Merged
BareosBot merged 3 commits intobareos:masterfrom
sebsura:dev/ssura/master/fix-cli-help-test-on-freebsd
Apr 9, 2025
Merged

cli-test: fix test on freebsd#2241
BareosBot merged 3 commits intobareos:masterfrom
sebsura:dev/ssura/master/fix-cli-help-test-on-freebsd

Conversation

@sebsura
Copy link
Contributor

@sebsura sebsura commented Apr 8, 2025

This pr fixes issues bareos/internal#316 and bareos/internal#307

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

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
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
  • Correct milestone is set
Source code quality
  • 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

@sebsura sebsura force-pushed the dev/ssura/master/fix-cli-help-test-on-freebsd branch 2 times, most recently from 6834069 to 2c34f31 Compare April 8, 2025 13:21
@sebsura sebsura added this to the 25.0.0 milestone Apr 8, 2025
@sebsura sebsura added bug This addresses a bug requires backport to 24 labels Apr 8, 2025
@sebsura sebsura self-assigned this Apr 8, 2025
@sebsura sebsura requested a review from arogge April 8, 2025 13:23
@sebsura
Copy link
Contributor Author

sebsura commented Apr 9, 2025

Question: Should a volume changed checkpoint also reset the timed checkpoint timer ?

@arogge
Copy link
Member

arogge commented Apr 9, 2025

Question: Should a volume changed checkpoint also reset the timed checkpoint timer ?

I think so, but I'll approve the PR now and see that it is merged soon :)

Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

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

Looks good!

sebsura added 2 commits April 9, 2025 17:20
It only makes sense to start the checkpoint interval once we have
reserved the drive, as doing a checkpoint when no data was ever
written; or when data was just first written to disk, does not make
sense.

This commit restarts the checkpoint timer if we use jit reservation to
reserve a drive.  This only happens once per backup job, so it cannot
stall the timed checkpoint indefinitely.
@arogge arogge force-pushed the dev/ssura/master/fix-cli-help-test-on-freebsd branch from d7476bd to 23826e8 Compare April 9, 2025 15:21
@arogge arogge mentioned this pull request Apr 9, 2025
3 tasks
@BareosBot BareosBot merged commit e886df2 into bareos:master Apr 9, 2025
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This addresses a bug requires backport to 24

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants