]> 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)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:32 +0000 (14:50 +0200)
commit148ff30ec483807fb87464bfe2d53453617c2d7e
tree14e4bc549b562a04298ed00b3cec52e7cc57c9d1
parent36f6a83be53d8e521a7f1611222e4d9252073ad7
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