Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10
Description
While debugging MDEV-24402, I came across the following in ReadViewBase::snapshot():
(rr) p *this
|
$1 = {m_low_limit_id = 317, m_up_limit_id = 315, m_ids = std::vector of length 2, capacity 34 = {315, 316}, m_low_limit_no = 317}
|
This is equivalent to a read view where m_ids is empty and all other fields are 315.
An empty m_ids should make ReadViewBase::changes_visible() and ReadViewBase::append() faster.
Attachments
Issue Links
- relates to
-
MDEV-15104 Remove trx_sys_t::rw_trx_ids and trx_sys_t::serialisation_list
- Closed
-
MDEV-22593 InnoDB: don't take trx_sys.mutex in ReadView::open()
- Closed