After discussion with the Kirigami people we decided that Kirigami.Overlaysheets is not the right fit for our specific usecase. We will stay with our (now reworkded) custom solution.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Aug 16 2016
Aug 13 2016
Aug 10 2016
waiting for input from genua side
Aug 8 2016
Aug 1 2016
Add a method to trigger the notifications by hand, it first displays the current status of the timer:
qdbus org.freedesktop.Akonadi /notifications org.freedesktop.Akonadi.NotificationManager.triggerTimer The timer is currently inactive The intervall is currently 50
We have not UNSUBSCRIBE messages, because kdepimlibs never triggers them. I added now a patch to fix this. See Differntial
The above output only shows 3 SUBSCRIBE commands instead of the usual 4 in previous instances....,
and it never shows an UNSUBSCRIBE command. Needs to be investigated.
From the following debug output that was captured after the problem appeared, we can see that the notifications indeed seem to pile up in the NotificationManager for some reason.
Jul 28 2016
This is apparently a synchronization issue.
We're currently waiting for more information (see otrs).
With the latest version it is now possible to introspect the notificationManager with:
appendAndCompress only optimizes collection modifications, so that's not it.
Akonadiconsole subscribes in notificationmodel.cpp directly to dbus, so it's unlikely that this is the reason.
Some additional checks that could be done:
Given that we do see some unrelated sync operations including non-SILENT modifications in the log, but still no notifications in akonadiconsole we can conclude that this is a problem where the akonadiserver fails to send any notifications to any process.
In T1321#22196, @mollekopf wrote:The current hypothesis is:
- The DataStore does a reestablishConnectionIfLost because we lost the connection to the mysql server while a transaction was ongoing.
- m_transactionLevel is never reset to 0 so remains > 0
- commitTransaction get's m_transactionLevel > 1 and thus never emits transactionComitted
- NotificationCollector::dispatchNotification is always in transaction and thus always enqueues new notifications, and never emits them since it's waiting on transactionCommitted.
DataStore is a thread-local singleton that also instantiates NotificationCollector which would explain why this behavior is observed only for the session of kontact.
It doesn't explain why a restart of kontact isn't enough to fix the situation though it seems?
Jul 27 2016
The current hypothesis is:
- The DataStore does a reestablishConnectionIfLost because we lost the connection to the mysql server while a transaction was ongoing.
- m_transactionLevel is never reset to 0 so remains > 0
- commitTransaction get's m_transactionLevel > 1 and thus never emits transactionComitted
- NotificationCollector::dispatchNotification is always in transaction and thus always enqueues new notifications, and never emits them since it's waiting on transactionCommitted.
From the latest information provided (otrs 07/20/2016 13:03:24):
- The UID STORE +FLAGS command is successfully executed and we can see the FETCH (REV 2) response)
- The Job Tracker also reports the ItemModifyJob as successful
- No notifications at all are visible in the notification monitor
- The "INSERT INTO PimItemFlagRelation ..." command is successfully executed as recorded by the querydebugger.
Jul 25 2016
Jul 18 2016
Jul 15 2016
I tested on a system where I copied the sound files to the correct location some earlier, and that's why the test seamed to work but unfortunately this is not solved. The sound files are still not available at the correct path after package new/first installation.