View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000217 | bareos-core | bat | public | 2013-08-16 11:20 | 2015-03-25 19:18 |
Reporter | mvwieringen | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OpenIndiana | OS | OpenIndiana | OS Version | b151a |
Product Version | 12.4.4 | ||||
Summary | 0000217: BVFS reported a problem for <id> | ||||
Description | When using the brestore view in BAT you always are welcomed with the above error message. It seems that the .bvfs_update command issues this error. | ||||
Steps To Reproduce | Select a single jobid in the brestore view in BAT after selecting a client. | ||||
Tags | No tags attached. | ||||
I just set up a new machine with Debian Wheezy and Bareos 12.4.4, when i try to restore a backup in any variation via BAT i always get this error. Would be great if this can be fixed ;) |
|
Confirmed. This must have creeped in some time ago as it is the case for the production system (now 13.2.2) and the latest testsystem. The restore seem to work fine despite the error message. | |
Fix committed to bareos bareos-12.4 branch with changesetid 1415. | |
Fix committed to bareos master branch with changesetid 1416. | |
Fix committed to bareos bareos-13.2 branch with changesetid 1414. | |
Fix committed to bareos2015 bareos-14.2 branch with changesetid 4940. | |
Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again. Sorry for the noise. |
|
bareos: master a09cbb8e 2014-01-12 21:30 Ported: N/A Details Diff |
BVFS reported a problem for <id> fix. There was a mixup of the return value returned from the bvfs_update_path_hierarchy_cache() function which returns a zero which is interpretted as a false by the calling dot_bvfs_update() function. Lets return a proper boolean value and only set that return value to true when we leave the bvfs_update_path_hierarchy_cache() function due to hitting either an empty jobid list or after processing the jobid list successfully. Any other exit (due to joblist corruption or failing to update the path hierarchy cache) leads to the function returning false. Fixes 0000217: BVFS reported a problem for <id> |
Affected Issues 0000217 |
|
mod - src/cats/bvfs.c | Diff File | ||
mod - src/cats/bvfs.h | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File | ||
bareos: bareos-13.2 ca8fff52 2014-01-12 21:37 Ported: N/A Details Diff |
BVFS reported a problem for <id> fix. There was a mixup of the return value returned from the bvfs_update_path_hierarchy_cache() function which returns a zero which is interpretted as a false by the calling dot_bvfs_update() function. Lets return a proper boolean value and only set that return value to true when we leave the bvfs_update_path_hierarchy_cache() function due to hitting either an empty jobid list or after processing the jobid list successfully. Any other exit (due to joblist corruption or failing to update the path hierarchy cache) leads to the function returning false. Fixes 0000217: BVFS reported a problem for <id> |
Affected Issues 0000217 |
|
mod - src/cats/bvfs.c | Diff File | ||
mod - src/cats/bvfs.h | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File | ||
bareos: bareos-12.4 af749d51 2014-01-12 21:37 Ported: N/A Details Diff |
BVFS reported a problem for <id> fix. There was a mixup of the return value returned from the bvfs_update_path_hierarchy_cache() function which returns a zero which is interpretted as a false by the calling dot_bvfs_update() function. Lets return a proper boolean value and only set that return value to true when we leave the bvfs_update_path_hierarchy_cache() function due to hitting either an empty jobid list or after processing the jobid list successfully. Any other exit (due to joblist corruption or failing to update the path hierarchy cache) leads to the function returning false. Fixes 0000217: BVFS reported a problem for <id> |
Affected Issues 0000217 |
|
mod - src/cats/bvfs.c | Diff File | ||
mod - src/cats/bvfs.h | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File | ||
bareos2015: bareos-14.2 d00f6536 2014-01-12 22:30 Ported: N/A Details Diff |
BVFS reported a problem for <id> fix. There was a mixup of the return value returned from the bvfs_update_path_hierarchy_cache() function which returns a zero which is interpretted as a false by the calling dot_bvfs_update() function. Lets return a proper boolean value and only set that return value to true when we leave the bvfs_update_path_hierarchy_cache() function due to hitting either an empty jobid list or after processing the jobid list successfully. Any other exit (due to joblist corruption or failing to update the path hierarchy cache) leads to the function returning false. Fixes 0000217: BVFS reported a problem for <id> |
Affected Issues 0000217 |
|
mod - src/cats/bvfs.c | Diff File | ||
mod - src/cats/bvfs.h | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File | ||
bareos2015: bareos-12.4 06276aef 2014-01-12 22:37 Ported: N/A Details Diff |
BVFS reported a problem for <id> fix. There was a mixup of the return value returned from the bvfs_update_path_hierarchy_cache() function which returns a zero which is interpretted as a false by the calling dot_bvfs_update() function. Lets return a proper boolean value and only set that return value to true when we leave the bvfs_update_path_hierarchy_cache() function due to hitting either an empty jobid list or after processing the jobid list successfully. Any other exit (due to joblist corruption or failing to update the path hierarchy cache) leads to the function returning false. Fixes 0000217: BVFS reported a problem for <id> |
Affected Issues 0000217 |
|
mod - src/cats/bvfs.c | Diff File | ||
mod - src/cats/bvfs.h | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File | ||
bareos2015: bareos-13.2 56c180ee 2014-01-12 22:37 Ported: N/A Details Diff |
BVFS reported a problem for <id> fix. There was a mixup of the return value returned from the bvfs_update_path_hierarchy_cache() function which returns a zero which is interpretted as a false by the calling dot_bvfs_update() function. Lets return a proper boolean value and only set that return value to true when we leave the bvfs_update_path_hierarchy_cache() function due to hitting either an empty jobid list or after processing the jobid list successfully. Any other exit (due to joblist corruption or failing to update the path hierarchy cache) leads to the function returning false. Fixes 0000217: BVFS reported a problem for <id> |
Affected Issues 0000217 |
|
mod - src/cats/bvfs.c | Diff File | ||
mod - src/cats/bvfs.h | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-08-16 11:20 | mvwieringen | New Issue | |
2013-08-23 16:19 | pstorz | Assigned To | => frank |
2013-08-23 16:19 | pstorz | Status | new => assigned |
2013-09-24 18:18 | Iosidgh | Note Added: 0000675 | |
2013-11-29 09:47 | AndiH | Note Added: 0000732 | |
2014-01-12 21:39 | mvwieringen | Changeset attached | => bareos bareos-12.4 af749d51 |
2014-01-12 21:39 | mvwieringen | Note Added: 0000787 | |
2014-01-12 21:39 | mvwieringen | Assigned To | frank => mvwieringen |
2014-01-12 21:39 | mvwieringen | Status | assigned => resolved |
2014-01-12 21:39 | mvwieringen | Resolution | open => fixed |
2014-01-12 21:39 | mvwieringen | Changeset attached | => bareos master a09cbb8e |
2014-01-12 21:39 | mvwieringen | Note Added: 0000788 | |
2014-01-12 21:39 | mvwieringen | Changeset attached | => bareos bareos-13.2 ca8fff52 |
2014-01-12 21:39 | mvwieringen | Note Added: 0000789 | |
2014-01-12 21:40 | mvwieringen | Status | resolved => closed |
2014-01-12 21:40 | mvwieringen | Assigned To | mvwieringen => |
2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-12.4 06276aef |
2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-13.2 56c180ee |
2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-14.2 d00f6536 |
2015-03-25 16:51 | mvwieringen | Note Added: 0001353 | |
2015-03-25 16:51 | mvwieringen | Status | closed => resolved |
2015-03-25 19:18 | joergs | Note Added: 0001511 | |
2015-03-25 19:18 | joergs | Status | resolved => closed |