[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2022-10-21 Thread Knut Hildebrandt
https://bugs.kde.org/show_bug.cgi?id=341192

--- Comment #12 from Knut Hildebrandt  ---
Well, this seems to be a duplicate of Bug 374925.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2022-10-20 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=341192

Rigo Wenning  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |NOT A BUG

--- Comment #11 from Rigo Wenning  ---
You can close this bug. After having lost so much information with the
combination of akonadi and kmail2, I've given up after over 20 years using
KDEPIM. The frontend of the application is still the most usable you can find.
But the backend implementation of the protocol stack and the caching itself are
not ready for use if one has more than a very small private email stack. I
would even go so far to say that the kmail from KDE3 is still better.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2022-10-19 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=341192

Justin Zobel  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #10 from Justin Zobel  ---
Thank you for reporting this bug in KDE software. As it has been a while since
this issue was reported, can we please ask you to see if you can reproduce the
issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when
replying. Thank you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2016-03-24 Thread Knut Hildebrandt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=341192

Knut Hildebrandt  changed:

   What|Removed |Added

 CC||knut.hildebra...@gmx.de

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2016-03-22 Thread Daniel Vrátil via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=341192

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #9 from Daniel Vrátil  ---
This could've been related to bug 339181. Can you test with Applications 16.04
once it's out?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2015-04-10 Thread Thiago Jung Bauermann
https://bugs.kde.org/show_bug.cgi?id=341192

Thiago Jung Bauermann  changed:

   What|Removed |Added

 CC||thiago.bauerm...@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2015-03-12 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=341192

--- Comment #8 from Rigo Wenning  ---
Absolutely. I have a 4core 8GB with SSD. The slowest thing on the machine is
Akonadi. It now takes 15 seconds to load my calendar as I moved from one ics
file to an ics folder for reasons of resilience. 

The initial idea from nepomuk comes from linked data. Because you can't store
metadata into the file system. And this metadata (relations to other resources,
flags, tags, semantics) is very important. And it is totally cool if it works.
But storing everything into the database made akonadi so fragile that not even
I trust to put any valuable metadata in there. Because it too often has proven
to be a waste of time when the thing crashed and the database was corrupted. So
having metadata and a URI that describes the resource it talks about is the
initial idea. Unfortunately, it was totally distorted into some caching that
does many things, but not this most useful thing. 

BTW, after more than 24 hours, still no writing of files into the local maildir
except for this one email. I wonder if Akonadi will ever write them to disk.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2015-03-12 Thread Martin Steigerwald
https://bugs.kde.org/show_bug.cgi?id=341192

--- Comment #7 from Martin Steigerwald  ---
Well filesystems with bigger journal *can* work faster for different reasons. I
am not sure at all whether the write caching would give any performance
benefit. And well yes, it if goes through the database it will *duplicate* the
amount of writes. And unless Akonadi moves the files directly from file_db_data
to the final location it would also duplicate the amount of files in this case
as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2015-03-12 Thread Martin Steigerwald
https://bugs.kde.org/show_bug.cgi?id=341192

--- Comment #6 from Martin Steigerwald  ---
Rigo, yes, it doesn´t help to avoid the caching. And if you prefer the file
based caching, then reduce the SizeThreshold again, yet for recoverability I
think there isn´t that much of a difference as file_db_date directory has all
files in one directory and with different names. Sure, you can use grep more
easy to dig out the files, so by all means, if you don´t trust the database,
reduce the SizeThreshold again.

I think what you ask here for, and Rigo, I fully agree, is: A lower timeout for
the write caching. As I wrote already: Have Akonadi write files to their final
location more quickly. Not only on moving messages, but generally. The write
caching should act like a filesystem journal: Try to write to the final
location soon. Sure filesystems with a bigger journal work faster too, yet as
you see it here, it takes ages for the files to appear in the final location.
Hey, I can check it here as I moved some mails today.

- kernel-ml-2015-1 according to KMail has 47834 unread mails.
- kernel-ml-2014-1 according to KMail has only 27783 unread mails.
- I moved about 3 mails from the first to the second folder  earlier today
(see bug #345085 and bug #345084 for details on what I did and what issues I
experienced with it)


So lets check the filesystem:

martin@merkaba:~/.local/share/local-mail/.Lichtvoll.directory/.Linux.directory>
find kernel-ml-2014-1 | wc -l
28627
martin@merkaba:~/.local/share/local-mail/.Lichtvoll.directory/.Linux.directory>
find kernel-ml-2015-1 | wc -l
49097

Okay, here it meanwhile moved the mails.

Still I have no idea about on when Akonadi will be doing this and how long it
will write cache under what circumstances. Additionally:

I still don´t get why they have to go through file_db_data or the database at
all. The most efficient implementation I see is this: Store the mails from the
IMAP resource directly in the maildir in your case. And move the mails from
source to destination database in my case, yet I also saw *huge* write activity
to the MySQL database.

Why cache? And why cache to this amount? Well, if the IMAP server can deliver
the mails faster than the maildir resource could accept them, but then, Akonadi
can still download the mails as fast as the maildir resource could accept them,
downloading them faster will not give any benefit as the maildir resource
couldn´t store them that fast, and I highly doubt that storing them in
file_db_data or MySQL database would be any faster anyway.

I sure hope that Akonadi Next will use a different approach if it leaves proof
of concept state.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2015-03-12 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=341192

--- Comment #5 from Rigo Wenning  ---
did everything suggested (size indication in config, fsck and vacuum). I did
move around 1200 messages from the imap account to a local folder before doing
akonadictl fsck. I have currently 198 files in the file_db_data directory. And
I have one file in the the local maildir where there are supposed to be 1200
files for 1200 messages. So the cache here isn't a cache anymore as akonadi has
removed the files from the initial imap store (local), but has NOT written it
to the new folder. This means great risk for data loss and high potential for
bogus backups, especially if one does not only use kmail2/kontact for email. 
Funnily enough, the emails in the local folder can be accessed, but they are
nowhere in the filesystem. They are just in the database. So if the database at
some point in time, decides that the status of the local filesystem primes, it
will remove all the email it has in the database. At which point I will have
lost 1200 emails

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2015-03-12 Thread Martin Steigerwald
https://bugs.kde.org/show_bug.cgi?id=341192

--- Comment #4 from Martin Steigerwald  ---
Rigo, I suggest you review

[kdepim-users] Work-around to issues with Akonadi file based caching (was: Re:
rant)
http://lists.kde.org/?l=kdepim-users&m=142382010023511&w=2

regarding open issues to Akonadi´s file based caching.

It has some hints on how to remedy the issue at least partly.

And no, 57000 mails in there aren´t that much. I have seen up to 85 files
in there.

I see that the SizeThreshold work-around I mentioned works quite well for me
and post another mail to the thread and probably some of the related bug
reports in a moment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2015-03-12 Thread Rigo Wenning
https://bugs.kde.org/show_bug.cgi?id=341192

--- Comment #3 from Rigo Wenning  ---
I have a file_db_data directory with 57450 files. So it hasn't synchronized
locally since ages IMHO. If it synchronizes now, it will probably create a
mess. BTW, I fully support your thoughts in [1]. Note I'm using opensuse
binaries (currently 4.14.5)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2015-03-12 Thread Martin Steigerwald
https://bugs.kde.org/show_bug.cgi?id=341192

Martin Steigerwald  changed:

   What|Removed |Added

 CC||mar...@lichtvoll.de

--- Comment #2 from Martin Steigerwald  ---
Rigo, as you said, Akonadi is a cache. I thought only a read cache, but on some
recent discussion on debian-kde Kevin Krammer told me it may also cache writes
for some amount of times – and it would need to in case of a IMAP resource
being unavailable due to interim network issues[1].

Could it be that the mails are in ~/.local/share/akonadi/file_db_data? –
Akonadi uses it as a temporary buffer I think also in the case of moving mails.
So it may be the mails are there and Akonadi will eventually move them to the
final destination after some time. So if KMail and Akonadiconsole still see the
mails I bet they are still there on disk. Just not where you expect them to be.

And yes, I find this behavior highly confusing expecially as I have seen that
Akonadi cached mails in there for long amounts of time. I´d expect it to behave
more like a filesystem write journal, i.e. flush to destination storage as soon
as possible.

 [1] Re: Possible akonadi problem?
https://lists.debian.org/debian-kde/2015/02/msg9.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2014-12-02 Thread Christian Mollekopf
https://bugs.kde.org/show_bug.cgi?id=341192

Christian Mollekopf  changed:

   What|Removed |Added

 CC||mollek...@kolabsys.com
  Component|IMAP resource   |Maildir Resource
   Assignee|chrig...@fastmail.fm|kdepim-bugs@kde.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2014-12-02 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=341192

--- Comment #1 from David Faure  ---
sounds more like a bug in the maildir resource, no?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 341192] Moving messages does not synchronize to disk

2014-12-01 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=341192

David Faure  changed:

   What|Removed |Added

 CC||fa...@kde.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs