[Tickets #12707] incrementLoopCounter makes cache_data grow

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Sep 25 17:21:44 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12707
------------------------------------------------------------------------------
  Ticket             | 12707
  Created By         | horde at albasoft.com
  Summary            | incrementLoopCounter makes cache_data grow
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


horde at albasoft.com (2013-09-25 17:21) wrote:

horde_activesync_cache.cahe_data  was growing too much for all my devices.
I realized that "synckeycounter" was to blame, and there was a synckey  
with a counter for every exchanged synckey and every collection.

Looking into code, "incrementLoopCounter" in  
Horde/ActiveSync/Collections.php was generating that data, but no  
function was checking or removing data from synckeycounter, so it just  
grows with every sync. I guess "checkLoopCounters" will do it in a  
future release.

Attached patch aims to be a way to clean a running database without  
having to do a whole clean and resync.
Commenting  "incrementLoopCounter"  in  
Horde/ActiveSync/Request/Sync.php will stop database growing but won't  
clean a running database.



horde at albasoft.com (2013-09-25 17:21) uploaded:  
hordewm5-activesync_clear_synckeycounter.patch

http://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=hordewm5-activesync_clear_synckeycounter.patch&ticket=12707&fn=%2Fhordewm5-activesync_clear_synckeycounter.patch





More information about the bugs mailing list