Skip to content

Move detection #397

@TheOneRing

Description

@TheOneRing

Files are removed from the db before we look up whether we had a move.

QINFO  : TestSyncMove::testMovePropagation(Vfs::Off) 25-07-17 11:00:15:835 [ info sync.discovery ]:	Processing "C/c1" | valid: true/false/false | mtime: 1752138014/0/0 | size: 24/0/0 | etag: "198179ce4854eb72976"//"" | checksum: ""//"" | perm: "WDNVCKR"//"" | fileid: "32a153aa"//"" | inode: 778288/0/ | type: CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeFile
QINFO  : TestSyncMove::testMovePropagation(Vfs::Off) 25-07-17 11:00:15:835 [ info sync.discovery ]:	Stale DB entry
QDEBUG : TestSyncMove::testMovePropagation(Vfs::Off) 25-07-17 11:00:15:835 [ debug sync.database.sql ]	[ OCC::SqlQuery::exec ]:	SQL exec: Estimated query: "DELETE FROM metadata WHERE phash='6639055867163671400'" Actual query: "DELETE FROM metadata WHERE phash=6639055867163671400" Try: 0
QDEBUG : TestSyncMove::testMovePropagation(Vfs::Off) 25-07-17 11:00:15:835 [ debug sync.database.sql ]	[ OCC::SqlQuery::exec ]:	Last exec affected 1 rows.
QDEBUG : TestSyncMove::testMovePropagation(Vfs::Off) 25-07-17 11:00:15:835 [ debug sync.database.sql ]	[ OCC::SqlQuery::prepare ]:	SQL prepare "DELETE FROM metadata WHERE (path > (?1||'/') AND path < (?1||'0'))" Try: 0
QDEBUG : TestSyncMove::testMovePropagation(Vfs::Off) 25-07-17 11:00:15:835 [ debug sync.database.sql ]	[ OCC::SqlQuery::exec ]:	SQL exec: Estimated query: "DELETE FROM metadata WHERE (path > ('C/c1'||'/') AND path < (?1||'0'))" Actual query: "DELETE FROM metadata WHERE (path > ('C/c1'||'/') AND path < ('C/c1'||'0'))" Try: 0
QDEBUG : TestSyncMove::testMovePropagation(Vfs::Off) 25-07-17 11:00:15:835 [ debug sync.database.sql ]	[ OCC::SqlQuery::exec ]:	Last exec affected 0 rows.
QINFO  : TestSyncMove::testMovePropagation(Vfs::Off) 25-07-17 11:00:15:835 [ info sync.discovery ]:	Processing "C/c1mL" | valid: false/true/false | mtime: 0/1752138014/0 | size: 0/24/0 | etag: ""//"" | checksum: ""//"" | perm: ""//"" | fileid: ""//"" | inode: 0/778288/ | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile
QINFO  : TestSyncMove::testMovePropagation(Vfs::Off) 25-07-17 11:00:15:835 [ info sync.discovery ]:	Not a move, no item in db with inode "c1mL" 778288

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions