bareos: master a9293f13
|arogge||arogge||master||2019-09-13 14:47:06||master 2acb3395||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.
|mod - core/src/dird/storage.cc||Diff File|