View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000890 | bareos-core | director | public | 2018-01-08 21:55 | 2018-02-20 15:08 |
Reporter | joergs | Assigned To | |||
Priority | high | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Product Version | 17.2.4 | ||||
Summary | 0000890: .bvfs_update does not always create all cache enties. This results in a not working webui restore tree | ||||
Description | .bvfs_update is a bconsole command to update the cache needed for the other bvfs commands to should directory and file information about backup jobs, see http://doc.bareos.org/master/html/bareos-developer-guide.html#sec:bvfs It is used by the bareos-webui to show the restore tree. (It is not used by the bconsole restore command). | ||||
Steps To Reproduce | Best pick a backup job with backup level Full, say jobid=5 bconsole *.bvfs_clear_cache yes *.bvfs_update or *.bvfs_update joibid=5 *.bvfs_lsdir jobid=1 path= only returns a single entry, but not the / entry: 12 0 0 A A A A A A A A A A A A A A . In this case, the PathHierarchy table will be empty. Check via bconsole: *.sql query="select * from PathHierarchy;" No results to list. Correct result of the lsdir command would have at least two entries: *.bvfs_lsdir jobid=1 path= 12 0 0 A A A A A A A A A A A A A A . 11 0 0 A A A A A A A A A A A A A A / | ||||
Additional Information | A workaround that sometimes worked is to restart the director. echo ".bvfs_clear_cache yes" | bconsole systemctl restart bareos-dir.service echo ".bvfs_update" | bconsole | ||||
Tags | No tags attached. | ||||
bareos: bareos-17.2 43b2bfea 2018-01-10 19:38 Ported: N/A Details Diff |
.bvfs_update: fix to create all required cache entries During the restructuring of the database code, an error has been introduced to this function. This error has caused that cache entries are not generated in all cases. This commit fixes this. Fixes 0000890: .bvfs_update does not always create all cache entries. |
Affected Issues 0000890 |
|
mod - src/cats/bvfs.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-01-08 21:55 | joergs | New Issue | |
2018-01-08 21:55 | joergs | Status | new => assigned |
2018-01-08 21:55 | joergs | Assigned To | => joergs |
2018-01-08 21:55 | joergs | Status | assigned => confirmed |
2018-01-08 21:56 | joergs | Relationship added | related to 0000887 |
2018-01-08 22:02 | joergs | Steps to Reproduce Updated | |
2018-01-08 22:02 | joergs | Additional Information Updated | |
2018-01-29 15:26 | joergs | Changeset attached | => bareos bareos-17.2 43b2bfea |
2018-01-29 15:26 | joergs | Note Added: 0002893 | |
2018-01-29 15:26 | joergs | Status | confirmed => resolved |
2018-01-29 15:26 | joergs | Resolution | open => fixed |
2018-02-13 09:36 | joergs | Relationship added | child of 0000910 |
2018-02-20 15:08 | joergs | Status | resolved => closed |
2018-02-20 15:08 | joergs | Assigned To | joergs => |