CommitPolicy HARD can soak CPU

Bug #1036422 reported by Peter Beaman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Akiban Persistit
Fix Released
Critical
Peter Beaman

Bug Description

While testing we observed high CPU utilization in JournalManager#waitForDurability(). The cause is incorrect logic in the wait loop.

Related branches

Peter Beaman (pbeaman)
Changed in akiban-persistit:
assignee: nobody → Peter Beaman (pbeaman)
Revision history for this message
Peter Beaman (pbeaman) wrote :

Revision 353 purported to fix this bug. However, it introduced two other problems:

(a) spinSleep waited longer (1ms) than the actual force() method required and therefore disk utilization was limited.
(b) in HARD mode, read-only transactions can wait forever for durability.

Changed in akiban-persistit:
status: Confirmed → Fix Released
status: Fix Released → In Progress
Peter Beaman (pbeaman)
Changed in akiban-persistit:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.