]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix org#2500 .bvfs_get_jobids jobid=X must return X in the list
authorAlain Spineux <alain@baculasystems.com>
Fri, 19 Feb 2021 10:22:20 +0000 (11:22 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:01 +0000 (09:03 +0100)
commit953b52ccb91f4349c959af835881dcfefec4055b
treed6836a4efe42cba8cf79b563452811f238de912f
parentf23d15b64f58251e1b2f56bfc19dddb7cb6c36db
Fix org#2500 .bvfs_get_jobids jobid=X must return X in the list

- when multiple backups of the same job finish at the exact same time,
  then .bvfs_get_jobids can "mix" them.
- it is not "admissible" to ask bacula for restoring job X and
  see bacula restore job Y because they are "interchangeable".
- this mostly happens in regression test
- the code does : If the jobid is specified then force the SQL query
  to use it.
bacula/src/cats/sql_get.c