https://bugs.kde.org/show_bug.cgi?id=401863

            Bug ID: 401863
           Summary: baloo creates multiple entries for files residing on
                    multi-device btrfs file systems
           Product: frameworks-baloo
           Version: unspecified
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: baloo-bugs-n...@kde.org
          Reporter: mar...@gmx.de
  Target Milestone: ---

SUMMARY

Baloo creates multiple entries for files that reside on multi-device btrfs file
systems.  In my case I keep media files on a btrfs RAID1 file system
(consisting of 2 HDDs) which contains several subvolumes that are mounted into
subdirectories of my users' $HOME (e.g., ~/Music, ~/Media).  Files that reside
in ~/Media show up in baloosearch in duplicate, and sometimes show up as a
third entry under ~/Music, even though they don't exist there (I expect had I
waited long enough, entries would show up in duplicate per subvolume).

STEPS TO REPRODUCE
1. Have a multi-device btrfs file system (e.g., RAID1) with multiple
subvolumes.
2. Mount the subvolumes directly in $HOME.
3. Enable baloo.

OBSERVED RESULT

Baloo will create duplicate entries for files on the multi-device btrfs file
system.

EXPECTED RESULT

Baloo creates unique entries for files on the multi-device btrfs file system.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux (4.19.7-gentoo)
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION

As a concrete example, I had ~/Media/marcec_backup_btrfs_image.img show up
twice, and also show up as ~/Music/marcec_backup_btrfs_image.img (no copy-paste
because I forgot to save the output before recreating the baloo database).

BTW, while researching this bug I found https://phabricator.kde.org/T9805,
which looks to me like a way to fix this problem.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to