core: BareosDb::FindLastJobStartTimeForJobAndClient: take into account Running job#1265
Merged
pstorz merged 3 commits intobareos:masterfrom Oct 28, 2022
Conversation
08b95b8 to
08f1b94
Compare
08f1b94 to
2f6001f
Compare
2f6001f to
60492e1
Compare
pstorz
requested changes
Oct 24, 2022
Member
There was a problem hiding this comment.
I have changed the PR title, as it is not BareosDb::SqlFindResult, but
BareosDb::FindLastJobStartTimeForJobAndClient where the changes werde made. BareosDb::SqlFindResult is the return type.
This is also wrong in the commit comment.
I also changed the comment a bit, I hope that my changes make sense. They are in a separate commit.
Thanks for the good work!
250fa8f to
6e6a185
Compare
Contributor
Author
|
I've rebased on master, plus fixed the commit comment, and also have prepared the CHANGELOG.md line. |
…t Running job - Adding Created and Running jobs to the query will avoid the start of a second backup job for the same client while starttime is overdue. As we need to return a time_t and jobstatus = C doesn't have starttime set, now() is used with casting forced to expected timestamp without DST Fix [BUG bareos#1466] Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
6e6a185 to
b8865d4
Compare
pstorz
approved these changes
Oct 28, 2022
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.
Fix [BUG #1466]
[OP #5251]
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)
General
Source code quality
bareos-check-sources --since-mergedoes not report any problems