{"shas":[["d84f64f8785e794445fbcf3f6125897247ddd7ff","e0fcd583df77ec6c08e6d1257619cc1216ddc994@apache.org","Bug fix in couch_work_queue: state's size not decremented\n\nWhen dequeing some items from the queue (that is, not taking all the queued items)\nthe size field of the gen_server's state was not being decremented as it should.\nHowever when all the queue items are delivered to a consumer, the size is set to 0.\n\nThis particular fix has a good impact in the new replicator because it uses work queues\nand the consumers only dequeue 1 item at a time - producers will no longer be blocked\nuntil the queue gets empty.\nFor a push replication that used to take about 15 minutes, it now takes about 13 minutes.\n\n\n\ngit-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1103266 13f79535-47bb-0310-9956-ffa450edef68","Filipe David Borba Manana"],["d928e012035c16927772a8cff2802a34dd0d6535","e0fcd583df77ec6c08e6d1257619cc1216ddc994@apache.org","Add infinity timeout to couch_ref_counter calls\n\nAfter compacting a very large database, the updater calls the couch_db gen_server with\na db record that contains a new ref counter. The couch_db gen_server calls drop on the\nold ref counter and calls add on the new ref counter. However since the system is busy\ndeleting the old db file or garbage collecting, one of the ref counter calls times out,\ncausing couch_db's terminate to invoked and terminate calls shutdown on the updater.\nHowever the updater is waiting for the call it made to couch_db to complete, which can't\ncomplete since it's waiting for the updater.\n\n\n\ngit-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1104168 13f79535-47bb-0310-9956-ffa450edef68","Filipe David Borba Manana"],["33d0bddadc7288a9c5b557a28cd0aab4473c4883","e0fcd583df77ec6c08e6d1257619cc1216ddc994@apache.org","Merge branch 'trunk' into compaction_daemon","Filipe David Manana"]],"repo":"fdmanana/couchdb","actor":"fdmanana","ref":"refs/heads/compaction_daemon","size":3,"head":"33d0bddadc7288a9c5b557a28cd0aab4473c4883","actor_gravatar":"2917e5688cd7ddb0b78e822a51b2179d","push_id":31549030}