[MDEV-27183] optimize std::map lookup in during crash recovery Created: 2021-12-07  Updated: 2021-12-07  Resolved: 2021-12-07

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.5, 10.6, 10.7
Fix Version/s: 10.5.14, 10.6.6, 10.7.2

Type: Bug Priority: Major
Reporter: Eugene Kosov (Inactive) Assignee: Eugene Kosov (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

During parse phase a lot lot of recv_sys_t::pages lookups happen. It happens for every record in a redo log. And often changes for the same page goes in a row. In such case it's enough to do just one lookup but really it happens every time. And binary tree lookups are not fast. Let's optimize it.


Generated at Thu Feb 08 09:50:58 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.