]> git.sur5r.net Git - bacula/bacula/commit
Remove bad optimization from Accurate code
authorEric Bollengier <eric@baculasystems.com>
Fri, 10 Feb 2012 16:32:10 +0000 (17:32 +0100)
committerEric Bollengier <eric@baculasystems.com>
Mon, 13 Feb 2012 09:29:26 +0000 (10:29 +0100)
commitfb034f1c882ffabe5a111b7fe9ab0bd60f166cf8
tree33d36abc3d417112e4985180a74a1fdd377820f0
parentf1193ff4d57dcbd2f9a714347877359d3e377dcb
Remove bad optimization from Accurate code

By returning "already seen", we didn't reply to the original question:
has the file changed (must be backed up)?

If your fileset contains two Include {} sections the second Include may ask for
the same files than the first Include, and depending on Exclude, Wild, etc..
the answer may be "Already Seen" even if the file needs to be saved. From what
I can see, Wild/Exclude are called after the accurate check.
bacula/src/filed/accurate.c