본문 바로가기
MySQL News&Article

MySQL Ver. 5.7.35 주요 버그 픽스 사항 정리

by 모모레 2021. 7. 24.
카테고리 내용
InnoDB -- undo tablespace에 대해 truncate 작업에 대한 초기화가 진행된 후, undo log page와 rollback segment page에 관련된 user thread와 purge thread간에 교착상태가 발생할 수 있는 문제를 수정함. 
-- 온라인으로 버퍼풀 사이즈를 수정하는 경우 이전 버퍼풀의 hash를 해제하는 버그를 수정함. 
-- 버퍼풀 flush 목록의 맨 끝에 위치한 수많은 시스템 임시 페이지로 인해 성능이 저하되어서 플러쉬 목록 스캔시 시스템 임시 테이블은 스캔하지 않도록 수정함. 
-- statement-based binary logging 시 동시 수정작업이 많고, innodb_thread_concurrency 값이 낮은 경우 바이너리 로그 rotate 교착 상태가 발생할 수 있는 버그를 수정함. 
Replication -- multi-threaded replication 시, 트랜잭션 재 실행 시 때때로 현재 활성화된 이벤트에 대한 참조가 잘못될 수 있다. 
-- GTID 기반의 replication 동작 시, 트랜잭션에 대한 ID를 확인하고 유효성을 검사한 후, 트랜잭션을 커밋하게 수정함. 
-- 트랜잭션 종속성을 계산하는데 사용하는 Writeset Hash에 UK secondary index가 생락된 경우 multi-threaded replication의 경우 리플리케이션 중지가 발생핼 수 있는 버그를 수정함. 
-- XA 트랜잭션이 거부되거나 교착상태로 인해 강제로 롤백된 후 DML문을 실행하면 리플리케이션이 중지되는 버그를 수정함. 
기타 -- full-text search index가 있는 테이블에 다량의 데이터를 로딩할때 out-of-memory가 발생할 수 있는 문제를 수정함. 
-- virtual 컬럼이 있는 secondary index를 온라인으로 빌드 할때 인덱스가 손상되는 문제를 수정함. 

InnoDB: A deadlock between a user thread and purge thread involving a undo log page and rollback segment page occurred after an undo tablespace truncate operation was initiated. The deadlock caused a long semaphore wait and an eventual failure. (Bug #32800020)

InnoDB: An online buffer pool resizing operation freed the previous buffer pool page hash, conflicting with a concurrent buffer pool lookup that required the previous page hash. (Bug #32460315)

InnoDB: Numerous system temporary table pages at the tail of the buffer pool flush list caused a performance degradation. The flush_list_mutex was held while the flush list scan traversed over system temporary table pages. The flush list scan now excludes system temporary table pages. (Bug #31060470, Bug #98974)

InnoDB: A binary log rotation deadlock occurred on a system using statement-based replication where there was high number of concurrent update operations and low innodb_thread_concurrency setting. (Bug #30215068, Bug #96374)

Replication: On a multithreaded replica, the reference to the active event was sometimes managed incorrectly when retrying a transaction. (Bug #32590974)

Replication: Replica servers now check and validate the transaction ID part of a GTID before applying and committing the transaction associated with it. (Bug #32103192)

Replication: Replication could stop on a multithreaded replica if a unique secondary key was omitted from the writeset hashes used to compute transaction dependencies, leading to errors when executing the transactions on the multithreaded replica. Write set hashes now always include unique secondary keys even if they are not included in the read set and write set. (Bug #31636339)

Replication could fail if a DML statement was executed immediately after an XA transaction was rejected or forced to rollback due to a deadlock. (Bug #32707060)

An out-of-memory error occurred when loading large amounts of data into tables with full-text search indexes. Not all of the memory allocated to the full-text search cache was accounted for when inserting data into the full-text search auxiliary tables. (Bug #31576731)

A secondary index over a virtual column became corrupted when the index was built online.