Slave plugin producer/IO thread needs optimized
Bug #729397 reported by
David Shrewsbury
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
David Shrewsbury | ||
7.0 |
Fix Released
|
Medium
|
David Shrewsbury |
Bug Description
Currently the producer/IO thread pulls N transactions at a time from the master between each sleep and poll. This is to keep memory usage at a minimum. What it really should do is continuously pull N transactions until no more are available, then hit its sleep cycle. This would allow it to catch up to the master as fast as possible.
Related branches
lp:~dshrews/drizzle/bug729397_optimize_io
- Drizzle Developers: Pending requested
-
Diff: 120 lines (+39/-10)2 files modifiedplugin/slave/queue_producer.cc (+13/-8)
plugin/slave/queue_producer.h (+26/-2)
Changed in drizzle: | |
milestone: | none → 2011-03-14 |
To post a comment you must log in.