]> 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)
commit97eec1943f5519762d779e8a6e6a9944ef1ab4eb
tree6fa0f13d9b05138b7f37138c122d35b8df7b8fef
parent9cab4c6a72ecf5222ce70a4963d1a60670ca3528
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