Some moved/renamed/deleted files are not detected
Opened this issue · 1 comments
alexalouit commented
Using last Bsync on two similar Ubuntu 16.04.5 LTS, underlying filesystem is Btrfs.
$ bsync /dir -i -v -b user@hostname:/dir
Loading filelists...
Loading original filelist from snap files...
Loading .bsync-snap-20210708181831.750984...
Loading dir1 filelist...
Loading dir2 filelist...
Analysing original paths...
Analysing remaining new paths in dir1...
Analysing remaining new paths in dir2...
(LEFT DIR CONTENT) (RIGHT DIR CONTENT) (ACTION)
mailbox/username/Maildir/cur/1625768344.H43283P9597.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768373.M569836P4621.xxxxxx:2,aci --> (copy)
mailbox/username/Maildir/cur/1625768373.M569837P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768373.M569838P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768373.M569839P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768373.M569840P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768373.M569841P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768375.H897729P9502.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625765442.H606313P9101.xxxxxx:2, <-- (rm)
<-- mailbox/username/Maildir/new/1625765172.H923861P9051.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625765428.H151405P9093.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625765442.H606313P9101.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625765772.H980977P9169.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625765965.H849086P9202.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625766466.H954726P9290.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625767067.H976495P9394.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625767849.H415399P9524.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625768344.H43283P9597.xxxxxx (copy)
Todo in /dir: rm:1 cp:9
Todo in user@hostname:/dir: cp:8
Applying actions...
Applying actions in dir2...
rsync: mailbox/username/Maildir/cur/1625768344.H43283P9597.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768373.M569836P4621.xxxxxx:2,aci
rsync: mailbox/username/Maildir/cur/1625768373.M569837P4621.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768373.M569838P4621.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768373.M569839P4621.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768373.M569840P4621.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768373.M569841P4621.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768375.H897729P9502.xxxxxx:2,Tbcj
Applying actions in dir1...
rsync: mailbox/username/Maildir/new/1625765172.H923861P9051.xxxxxx
rsync: mailbox/username/Maildir/new/1625765428.H151405P9093.xxxxxx
rsync: mailbox/username/Maildir/new/1625765442.H606313P9101.xxxxxx
rsync: mailbox/username/Maildir/new/1625765772.H980977P9169.xxxxxx
rsync: mailbox/username/Maildir/new/1625765965.H849086P9202.xxxxxx
rsync: mailbox/username/Maildir/new/1625766466.H954726P9290.xxxxxx
rsync: mailbox/username/Maildir/new/1625767067.H976495P9394.xxxxxx
rsync: mailbox/username/Maildir/new/1625767849.H415399P9524.xxxxxx
rsync: mailbox/username/Maildir/new/1625768344.H43283P9597.xxxxxx
Updating filelists...
Updating snap files: .bsync-snap-20210708182009.368791...
Done!
Cleaning SSH master...
Few seconds after:
$ bsync /dir -i -v -b user@hostname:/dir
Loading filelists...
Loading original filelist from snap files...
Loading .bsync-snap-20210708182009.368791...
Loading dir1 filelist...
Loading dir2 filelist...
Analysing original paths...
Analysing remaining new paths in dir1...
Analysing remaining new paths in dir2...
(LEFT DIR CONTENT) (RIGHT DIR CONTENT) (ACTION)
mailbox/username/Maildir/cur/1625768409.M755002P4621.xxxxxx:2,aci --> (copy)
mailbox/username/Maildir/cur/1625768409.M755003P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768409.M755004P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768409.M755005P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768409.M755006P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768409.M755007P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625768409.M755008P4621.xxxxxx:2,Tbcj --> (copy)
mailbox/username/Maildir/cur/1625765442.H606313P9101.xxxxxx:2, <-- (rm)
<-- mailbox/username/Maildir/new/1625765172.H923861P9051.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625765428.H151405P9093.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625765442.H606313P9101.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625765772.H980977P9169.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625765965.H849086P9202.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625766466.H954726P9290.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625767067.H976495P9394.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625767849.H415399P9524.xxxxxx (copy)
<-- mailbox/username/Maildir/new/1625768344.H43283P9597.xxxxxx (copy)
Todo in /dir: rm:1 cp:9
Todo in user@hostname:/dir: cp:7
Applying actions...
Applying actions in dir2...
rsync: mailbox/username/Maildir/cur/1625768409.M755002P4621.xxxxxx:2,aci
rsync: mailbox/username/Maildir/cur/1625768409.M755003P4621.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768409.M755004P4621.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768409.M755005P4621.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768409.M755006P4621.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768409.M755007P4621.xxxxxx:2,Tbcj
rsync: mailbox/username/Maildir/cur/1625768409.M755008P4621.xxxxxx:2,Tbcj
Applying actions in dir1...
rsync: mailbox/username/Maildir/new/1625765172.H923861P9051.xxxxxx
rsync: mailbox/username/Maildir/new/1625765428.H151405P9093.xxxxxx
rsync: mailbox/username/Maildir/new/1625765442.H606313P9101.xxxxxx
rsync: mailbox/username/Maildir/new/1625765772.H980977P9169.xxxxxx
rsync: mailbox/username/Maildir/new/1625765965.H849086P9202.xxxxxx
rsync: mailbox/username/Maildir/new/1625766466.H954726P9290.xxxxxx
rsync: mailbox/username/Maildir/new/1625767067.H976495P9394.xxxxxx
rsync: mailbox/username/Maildir/new/1625767849.H415399P9524.xxxxxx
rsync: mailbox/username/Maildir/new/1625768344.H43283P9597.xxxxxx
Updating filelists...
Updating snap files: .bsync-snap-20210708182100.993313...
Done!
Cleaning SSH master...
1625765442.H606313P9101.xxxxxx
was remove or move from dir1 between each sync.
Any idea of what's going on?
alexalouit commented
after some test, problem occur when file is move and rename.
changed: directory, filename, ctime
unchanged: size, inode, perms, uid, gid, mtime, atime