wal_writer_inbox_size is useless because readahead can not be set up to match

Bug #791498 reported by Kostja Osipov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tarantool
Fix Released
High
Kostja Osipov

Bug Description

wal_writer_inbox_size is a useless parameter -- that is, it's useless to set it to a large value.
The reason for that is that cfg.readhead default is only 16k, and it's impossible to change
it without a significant impact on memory consumption of client fibers -- the same configuration
parameter is used for all fibers.

Besides, if I am reading the code correctly, as long as write_to_disk never yields, at most
1 inbox is used anyway.

Suggested fix:
- use libeio.

Kostja Osipov (kostja)
Changed in tarantool:
status: New → Confirmed
importance: Undecided → High
milestone: none → 1.4.5
Revision history for this message
Kostja Osipov (kostja) wrote :

Fixed with the changes to use pthread-based WAL writer.

Changed in tarantool:
assignee: nobody → Kostja Osipov (kostja)
status: Confirmed → Fix Committed
Kostja Osipov (kostja)
Changed in tarantool:
status: Fix Committed → 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.