bareos: bareos-18.2 839032ce

Author Committer Branch Timestamp Parent
arogge arogge bareos-18.2 2019-09-13 16:47 bareos-18.2 334c6121 Pending
Affected Issues  0001112: After mount/unmount of tape "status slots" shows empty list
Changeset core: reset cache on invalidate vol_list->contents

Fixes 0001112: After mount/unmount of tape "status slots" shows empty list

Previously the cache timestamp on vol_list->contents was not reset when
the list has been emptied. This lead to strange behaviour with empty
vol_lists showing up.
This patch now resets timestamp to zero when clearing vol_list->contents
so the cache is always rebuilt if contents had been cleared.

(cherry picked from commit c8dff08c03ed07d51bb5cda6deaed68878d20997)
mod - core/src/dird/storage.cc Diff File