영향을 받던 시나리오에서 Redact log 적용
일부 시나리오에서는 Redact log를 활성화해도 효과가 없었습니다.
원문 보기
- Fix the issue that enabling Redact log does not take effect in certain scenarios #59279 @ tangentadocs.pingcap.com/tidb/stable/release-7.5.7
확인할 변경이 있을 때만 주 1회, critical 보안 공지는 즉시 발송
일부 시나리오에서는 Redact log를 활성화해도 효과가 없었습니다.
- Fix the issue that enabling Redact log does not take effect in certain scenarios #59279 @ tangentadocs.pingcap.com/tidb/stable/release-7.5.7
TiKV가 sst ingest is too slow 경고를 출력할 때 로그가 지나치게 길어지고, 원시 키가 노출되며, 키가 16진수 형식 없이 출력될 수 있었습니다.
- tikv/tikv#18549github.com/tikv/tikv/releases/tag/v7.5.7
tidb_enable_historical_stats 설정을 사용하는 TiDB 구성(추정)기본값은 ON이었습니다. 운영자 측에서 별도로 변경하지 않으면 새 기본값인 OFF에 따라 히스토리 통계가 꺼집니다.
- Change the default value of tidb_enable_historical_stats from ON to OFF , which turns off historical statistics to avoid potential stability issues #53048 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
ANALYZE 후 클러스터 전체 통계 갱신 건너뜀ANALYZE 문을 실행하는 환경ANALYZE 실행 시간이 줄어듭니다.
- Avoid refreshing statistics across the entire cluster after ANALYZE statement execution, reducing the execution time of ANALYZE #57631 @ 0xPoedocs.pingcap.com/tidb/stable/release-7.5.7
region-compact-check-interval, region-compact-check-step, region-compact-min-tombstones, region-compact-tombstones-percent, region-compact-min-redundant-rows, region-compact-redundant-rows-percent자동 컴팩션을 대체하는 설정 그룹은 gc.auto-compaction입니다.
- TiKV deprecates the following configuration items and replaces them with the new gc.auto-compaction configuration group, which controls automatic compaction behavior #18727 @ v01dstar - Deprecated configuration items: region-compact-check-interval , region-compact-check-step , region-compact-min-tombstones , region-compact-tombstones-percent , region-compact-min-redundant-rows , and region-compact-redundant-rows-percent .docs.pingcap.com/tidb/stable/release-7.5.7
할당 바이트율에는 sst-importer와 apply 스레드의 할당이 표시됐지만, 메트릭에는 사용하지 않는 sched-worker-high와 unified-read-pool 스레드의 메모리 사용량이 높은 것으로 표시됐습니다.
- tikv/tikv#18125 - Fix incorrect thread memory metrics #18125 @ Connor1996github.com/tikv/tikv/releases/tag/v7.5.7
_charset(xxx) 및 _charset(xxx2)처럼 문자 집합 도입자가 여러 개 포함된 SQL 문은 서로 다른 다이제스트를 생성할 수 있었습니다.
- Fix the issue that SQL statements containing _charset(xxx), _charset(xxx2), ... generate different digests #58447 @ xheboxdocs.pingcap.com/tidb/stable/release-7.5.7
ALTER RANGE meta SET PLACEMENT POLICY의 잘못된 키 범위 수정ALTER RANGE meta SET PLACEMENT POLICY 사용ALTER RANGE meta SET PLACEMENT POLICY를 사용할 때 작업에서 잘못된 키 범위를 사용할 수 있었습니다.
- Fix the issue of incorrect key range in ALTER RANGE meta SET PLACEMENT POLICY #60888 @ nolouchdocs.pingcap.com/tidb/stable/release-7.5.7
이 수정 전에는 패널에 잘못된 데이터가 표시될 수 있었습니다.
- Fix the issue that the data in the Stats Healthy Distribution panel of Grafana might be incorrect #57176 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
latin1_bin 비교 동작 수정latin1_bin 콜레이션을 사용하는 SQL 비교(추정)latin1_bin을 사용하는 비교 결과가 utf8mb4_bin 및 utf8_bin을 사용하는 비교 결과와 달랐습니다.
- Fix the issue that the comparison behavior of latin1_bin differs from that of utf8mb4_bin and utf8_bin #60701 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
ADD UNIQUE INDEX 데이터 불일치 수정드러나지 않던 결함ADD UNIQUE INDEX를 실행하는 TiDB 환경이 수정 전에는 ADD UNIQUE INDEX를 실행하면 데이터 불일치가 발생할 수 있었습니다.
- Fix the issue that executing ADD UNIQUE INDEX might cause data inconsistency #60339 @ tangentadocs.pingcap.com/tidb/stable/release-7.5.7
이전에는 통계 시스템 테이블에 비공개 인덱스가 표시됐습니다.
- Fix the issue that non-public indexes are shown in the statistics system table #60430 @ tangentadocs.pingcap.com/tidb/stable/release-7.5.7
이후 쓰기가 발생한 뒤에도 행 수 추정값이 0으로 남을 수 있었습니다.
- Fix the issue that when the collected column statistics are all in TopN, the row count estimation might remain 0 even after subsequent writes #47400 @ terry1purcelldocs.pingcap.com/tidb/stable/release-7.5.7
cost_trace 출력의 추정 비용 수정explain format="cost_trace"를 사용하는 TiDB 쿼리explain format="cost_trace"에서 표시되는 추정 비용이 잘못될 수 있었습니다.
- Fix the issue that the estimated cost displayed in explain format="cost_trace" might be incorrect #61155 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
여러 달 또는 여러 해에 걸친 행 수 추정치가 크게 과대 산정될 수 있었습니다.
- Fix the issue that row count estimates across months or years can be significantly overestimated #50080 @ terry1purcelldocs.pingcap.com/tidb/stable/release-7.5.7
JOIN에 필요한 컬럼 또는 인덱스 통계가 없으면 행 수 추정치가 크게 부정확할 수 있었습니다. 이번 릴리스에서 해당 추정 문제를 수정했습니다.
- Fix the issue that row count estimation for JOIN can be highly inaccurate when column or index statistics are missing #61602 @ qw4990docs.pingcap.com/tidb/stable/release-7.5.7
이번 릴리스 전에는 이러한 테이블의 통계가 잘못될 수 있었으며, 이번 릴리스에서 문제가 수정되었습니다.
- Fix the issue that statistics might be incorrect when the first column of a table is a virtual generated column #61606 @ winorosdocs.pingcap.com/tidb/stable/release-7.5.7
검사 도중 내부 SQL 실행이 실패하면 문제가 발생했습니다.
- Fix the issue that ADMIN CHECK still returns success even after some internal SQL executions fail #61612 @ joechenrhdocs.pingcap.com/tidb/stable/release-7.5.7
Ingestion picked level 및 Compaction Job Size(files)대시보드에서 이 값들을 조회할 때 잘못 표시되던 문제가 수정되었습니다.
- Fix the issue that Ingestion picked level and Compaction Job Size(files) are displayed incorrectly in the TiKV dashboard in Grafana #15990 @ Connor1996docs.pingcap.com/tidb/stable/release-7.5.7
TiKV가 브라질 또는 이집트의 시간대를 변환할 때 잘못된 결과를 낼 수 있었습니다.
- Fix the issue that TiKV converts the time zone incorrectly for Brazil and Egypt #16220 @ overvenusdocs.pingcap.com/tidb/stable/release-7.5.7
split-merge-interval 설정 적용split-merge-interval을 반복해서 변경하는 PD 구성설정을 반복해서 변경할 때(예: 1s에서 1h로 바꿨다가 다시 1s로 되돌릴 때), 변경 사항이 적용되지 않을 수 있었습니다.
- Fix the issue that the split-merge-interval configuration item might not take effect when you modify its value repeatedly (such as changing it from 1s to 1h and back to 1s ) #8404 @ lhy1024docs.pingcap.com/tidb/stable/release-7.5.7
store ID가 오래된 상태에서 동일한 IP 주소를 사용해 TiKV 노드를 추가하거나 제거하면 resolved ts lag가 계속 증가하던 문제가 수정되었습니다.
- Fix the issue that the resolved ts lag keeps increasing after scaling in or out TiKV nodes on the same IP address because of outdated store IDs #12162 @ 3AceShowHanddocs.pingcap.com/tidb/stable/release-7.5.7
sst_importer 복원SST 데이터에 경계 이전의 오래되었거나 미완료된 버전 또는 목표 복원 시점 이후의 버전이 포함된 경우, 복원 과정에서 이미 적용된 변경 사항이 다시 반영되거나 일관성이 깨질 수 있었습니다.
- tikv/tikv#18399 - The Download API of TiKV supports filtering out data within a certain time range when downloading backup files, which avoids importing outdated or future data versions during restore #18399 @ 3pointergithub.com/tikv/tikv/releases/tag/v7.5.7
StoreFsm::handle_msgs의 raftstore 슬로우 로그를 출력하는 TiKV 배포 환경(추정)StoreFsm::handle_msgs 처리 중 슬로우 로그가 발생하면, 로그가 느린 StoreMsg::CompactEvent를 StoreMsg::Unreachable로 표시해 디버깅 출력이 오해를 일으킬 수 있었습니다.
- tikv/tikv#18561 - Fix misleading descriptions in StoreMsg log entries in slow logs #18561 @ LykxSassinatorgithub.com/tikv/tikv/releases/tag/v7.5.7
TiKV 노드 하나의 장애가 복구된 뒤 다른 노드가 slow store로 감지되어 해당 노드의 리더가 축출됐고, 보고된 QPS가 50% 감소했습니다.
- tikv/tikv#18605github.com/tikv/tikv/releases/tag/v7.5.7
정상 종료 중에도 진행 중인 작업이 계속 실행되어 롤링 재시작이나 종료가 지연될 수 있었습니다.
- tikv/tikv#18396 - Fix the issue that TiKV fails to terminate ongoing manual compaction tasks during graceful shutdown #18396 @ LykxSassinatorgithub.com/tikv/tikv/releases/tag/v7.5.7
busy apply 상태에 머무는 TiKV Raft 피어 문제 수정TiKV를 재시작한 뒤 Raft 로그 지연이 없는데도 일부 피어가 2분 동안 busy apply 상태에 머물 수 있었습니다. 이로 인해 Server is busy 오류가 발생하고, PD가 해당 인스턴스로 리더를 이전하지 못했습니다.
- tikv/tikv#18233 - Fix the issue that the unexpected Server is busy error occurs after TiKV restarts #18233 @ LykxSassinatorgithub.com/tikv/tikv/releases/tag/v7.5.7
보고된 사례에서는 400 MiB 플러시에 약 17분이 걸렸고 CPU 코어 하나를 완전히 사용했습니다.
- tikv/tikv#18410 - Fix the issue that log backup uploads to Azure Blob Storage are slow when transferring large volumes of data #18410 @ YuJuncengithub.com/tikv/tikv/releases/tag/v7.5.7
CPU 프로파일링 중 데드락이 발생하면 raftstore 스레드가 막혀 PD에 하트비트를 보내지 못하고, TiKV가 연결이 끊긴 것처럼 보일 수 있었습니다.
- tikv/tikv#18474 - Fix the issue that a deadlock might be triggered during CPU profiling #18474 @ YangKeaogithub.com/tikv/tikv/releases/tag/v7.5.7
Task::Compact 컴팩션 문제 수정cleanup_worker에 처리 대기 중인 작업이 있고 컴팩션이 필요한 리전이 많을 때, 분할할 수 없는 대규모 리전이 Task::Compact 요청을 반복해서 큐에 넣을 수 있었습니다. 중복된 수동 컴팩션은 유용한 작업을 하지 않으면서 컴팩션이 필요한 다른 작업을 막았습니다.
- tikv/tikv#18451github.com/tikv/tikv/releases/tag/v7.5.7
utf8mb4_unicode_ci의 잘못된 결과 수정utf8mb4_unicode_ci 콜레이션(추정)- tikv/tikv#18784github.com/tikv/tikv/releases/tag/v7.5.7
일부 TiFlash 복제본이 복구 과정에서 commit index의 진행을 막아 온라인 unsafe recovery가 제한 시간을 초과할 수 있었습니다.
- tikv/tikv#18197 - Fix the issue that Online Unsafe Recovery might be blocked by certain TiFlash replicas, preventing the commit index from advancing #18197 @ v01dstargithub.com/tikv/tikv/releases/tag/v7.5.7
이전에는 TiKV 파드가 S3에 액세스할 수 있어도 S3로 전체 데이터베이스를 백업할 때 AWS 자격 증명을 찾지 못해 실패할 수 있었습니다. 이제 인스턴스가 이를 허용하도록 구성된 경우 BR은 EC2 인스턴스에 연결된 IAM 역할을 사용해 S3에 액세스할 수 있습니다.
- When deploying TiDB on Amazon EC2, BR supports AWS Instance Metadata Service Version 2 (IMDSv2). You can configure your EC2 instance to allow BR to use the IAM role associated with the instance for appropriate permissions to access Amazon S3 #16443 @ pingyudocs.pingcap.com/tidb/stable/release-7.5.7
IndexMerge와 IndexLookUp의 공유 KV 요청 데이터 레이스 수정IndexMerge 또는 IndexLookUp에서 공유 KV 요청을 사용하는 쿼리 푸시다운(추정)쿼리를 푸시다운할 때 이 오퍼레이터에서 공유 KV 요청을 사용하면 데이터 레이스가 발생할 수 있었습니다.
- Fix the issue that shared KV requests in IndexMerge and IndexLookUp operators cause data races when pushing down queries #60175 @ you06docs.pingcap.com/tidb/stable/release-7.5.7
- Fix a potential goroutine leak issue in the Hash Aggregation operator #58004 @ xzhangxian1008docs.pingcap.com/tidb/stable/release-7.5.7
Region 병합이 자주 발생하면 TTL 작업이 시작되지 않을 수 있었습니다.
- Fix the issue that frequent Region merges prevent TTL jobs from starting #61512 @ YangKeaodocs.pingcap.com/tidb/stable/release-7.5.7
정보 손실을 일으키는 DDL 문을 실행한 뒤 TiFlash 쿼리 결과가 일치하지 않을 수 있었습니다.
- Fix the issue that TiFlash query results are inconsistent after executing a lossy DDL statement #61455 @ Lloyd-Pottigerdocs.pingcap.com/tidb/stable/release-7.5.7
이 구성에서는 스키마 버전 업데이트에 실패하면 DDL 작업이 멈출 수 있었습니다.
- Fix the issue that after disabling metadata locking (MDL), DDL operations get stuck after failing to update the schema version #61210 @ wjhuang2016docs.pingcap.com/tidb/stable/release-7.5.7
Fix Control #44855을 활성화한 구성Fix Control #44855을 활성화하면 TiDB 세션이 충돌할 수 있었습니다.
- Fix the issue that a TiDB session might crash when Fix Control #44855 is enabled #59762 @ winorosdocs.pingcap.com/tidb/stable/release-7.5.7
백그라운드 태스크가 타임아웃되면 통계 예외 처리가 잘못되어 인메모리 통계가 실수로 삭제될 수 있었습니다.
- Fix the issue that improper exception handling for statistics causes in-memory statistics to be mistakenly deleted when background tasks time out #57901 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
Close() 메서드에서 패닉이 발생하면 이를 복구하지 못했습니다.
- Fix the issue that the Close() method of the Hash Join v1 operator fails to recover from a panic #60926 @ xzhangxian1008docs.pingcap.com/tidb/stable/release-7.5.7
PhysicalExchangeSender.HashCol을 얕게 복사하면 TiFlash가 크래시를 일으키거나 잘못된 결과를 낼 수 있었습니다.
- Fix the issue that shallow copy of PhysicalExchangeSender.HashCol causes TiFlash to crash or generate incorrect results #60517 @ windtalkerdocs.pingcap.com/tidb/stable/release-7.5.7
ANALYZE 문을 실행하는 TiDB 클러스터극단적인 경우, ANALYZE 문의 디스크 스필 작업이 너무 오래 걸리면 다른 TiDB 노드가 최신 통계를 업데이트하지 못할 수 있었습니다.
- Fix the issue that when the disk-spilling operation of an ANALYZE statement takes too long in extreme cases, other TiDB nodes might fail to update the latest statistics #54552 @ 0xPoedocs.pingcap.com/tidb/stable/release-7.5.7
이 수정 전에는 순환 외래 키 정의로 인해 무한 루프가 발생할 수 있었습니다.
- Fix the issue that circular foreign key definitions cause infinite loops #60985 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
이전에는 Plan Cache가 잘못된 실행 계획을 저장할 수 있어 실행 오류가 발생했습니다.
- Fix the issue that Plan Cache stores an incorrect execution plan, causing execution errors #56772 @ dash12653docs.pingcap.com/tidb/stable/release-7.5.7
TopN 푸시다운 중 표현식 기반 정렬 항목이 잘못 생성될 수 있던 문제가 수정되었습니다.
- Fix the issue that an expression-based TopN sort item is incorrectly generated during TopN pushdown #60655 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
tidb_cost_model_version 기본값 수정tidb_cost_model_version의 기본값을 사용하는 TiDB 환경(추정)변수의 기본값이 잘못 설정되어 있었습니다.
- Fix the issue that the default value of the system variable tidb_cost_model_version is set incorrectly #61565 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
인덱스를 추가하는 동안 ADMIN CANCEL DDL JOBS를 실행하면 인덱스 추가 작업이 멈출 수 있었습니다.
- Fix the issue that executing ADMIN CANCEL DDL JOBS while adding an index causes the index-adding process to hang #61087 @ tangentadocs.pingcap.com/tidb/stable/release-7.5.7
다중 스키마 변경으로 인덱스를 여러 개 추가한 뒤 데이터와 인덱스가 서로 일치하지 않을 수 있었습니다.
- Fix the issue that data and indexes became inconsistent after adding multiple indexes through multi-schema change #61255 @ tangentadocs.pingcap.com/tidb/stable/release-7.5.7
server.grpc-compression-type을 사용하며 TiKV의 압축 알고리즘을 디코딩할 수 없는 클라이언트와 함께 사용하는 TiKV 배포server.grpc-compression-type을 설정한 상태에서 4.0에서 6.5.11로 업그레이드할 때, TiKV가 클라이언트에서 디코딩할 수 없는 압축 알고리즘을 사용할 수 있었습니다. 이로 인해 TiDB가 정상적으로 서비스를 제공하지 못할 수 있었습니다. 호환되지 않는 알고리즘을 사용하는 문제는 수정되었지만, 수정 후 알고리즘 선택 방식은 구체적으로 명시되어 있지 않습니다.
- Fix the issue that TiKV might use a compression algorithm that the client cannot decode #18079 @ ekexiumdocs.pingcap.com/tidb/stable/release-7.5.7
TiDB Dashboard의 TCP 연결이 제대로 닫히지 않으면 PD에서 고루틴이 누수될 수 있었습니다. 이 누수를 수정했습니다.
- Fix the issue that improperly closing TiDB Dashboard TCP connections could lead to PD goroutine leaks #9402 @ baurinedocs.pingcap.com/tidb/stable/release-7.5.7
이 수정 전에는 새로 추가된 TiKV 노드가 스케줄링되지 않을 수 있었습니다.
- Fix the issue that newly added TiKV nodes might fail to be scheduled #9145 @ bufferfliesdocs.pingcap.com/tidb/stable/release-7.5.7
tidb_enable_tso_follower_proxy를 활성화한 PD 구성tidb_enable_tso_follower_proxy를 활성화하면 TSO 서비스를 사용할 수 없게 될 수 있었습니다. 이번 릴리스에서 이 문제가 수정됩니다.
- Fix the issue that enabling tidb_enable_tso_follower_proxy might cause the TSO service to become unavailable #9188 @ Temadocs.pingcap.com/tidb/stable/release-7.5.7
IMPORT INTO 또는 BR 복원을 사용하는 구성(추정)IMPORT INTO 또는 BR 복원을 실행하는 동안 SST 파일이 실수로 삭제되면 TiFlash에서 패닉이 발생할 수 있었습니다.
- Fix the panic issue caused by accidental deletion of SST files during running IMPORT INTO or BR restore #10141 @ CalvinNeodocs.pingcap.com/tidb/stable/release-7.5.7
((NULL)) 형식의 표현식 인덱스를 사용하는 TiFlash 구성이번 릴리스 전에는 ((NULL)) 형식으로 표현식 인덱스를 만들면 TiFlash에서 패닉이 발생할 수 있었습니다. 이제 이 형식의 표현식 인덱스를 만들어도 패닉이 발생하지 않습니다.
- Fix the issue that creating an expression index in the form of ((NULL)) causes TiFlash to panic #9891 @ JaySon-Huangdocs.pingcap.com/tidb/stable/release-7.5.7
이번 릴리스 전에는 TiFlash가 불규칙한 Region 키 범위의 스냅샷을 처리할 때 패닉이 발생할 수 있었습니다. 이제 해당 패닉이 수정되었습니다.
- Fix the issue that TiFlash might panic when handling snapshots with irregular Region key-ranges #10147 @ JaySon-Huangdocs.pingcap.com/tidb/stable/release-7.5.7
클러스터 테이블에 ENUM 컬럼이 많으면 TiFlash가 메모리를 과도하게 사용할 수 있었습니다.
- Fix the issue that TiFlash might consume a large amount of memory when tables in a cluster contain a large number of ENUM type columns #9947 @ JaySon-Huangdocs.pingcap.com/tidb/stable/release-7.5.7
16 MiB보다 큰 행 하나를 삽입한 뒤 TiFlash가 재시작되지 않을 수 있었습니다. 이 재시작 실패를 수정했습니다.
- Fix the issue that TiFlash might fail to restart after inserting a single row of data larger than 16 MiB #10052 @ JaySon-Huangdocs.pingcap.com/tidb/stable/release-7.5.7
PITR에서 3072바이트를 초과하는 인덱스를 복원하지 못했습니다.
- Fix the issue that PITR fails to restore indexes larger than 3072 bytes #58430 @ YuJuncendocs.pingcap.com/tidb/stable/release-7.5.7
- Fix the issue that the changefeed might get stuck when using external storage as the downstream #9162 @ asddongmendocs.pingcap.com/tidb/stable/release-7.5.7
복제 트래픽이 다운스트림 Kafka 트래픽 임계값을 초과하면 changefeed가 멈출 수 있었습니다. 이 문제가 수정되었습니다.
- Fix the issue that the changefeed might get stuck after the replication traffic exceeds the traffic threshold of the downstream Kafka #12110 @ 3AceShowHanddocs.pingcap.com/tidb/stable/release-7.5.7
--overwrite-checkpoint-ts를 사용하는 TiCDC changefeed 일시 중지이 수정 전에는 일시 중지 명령으로 changefeed가 멈춘 상태에 빠질 수 있었습니다. 이 동작을 수정했습니다.
- Fix the issue that using the --overwrite-checkpoint-ts parameter in the changefeed pause command might cause the changefeed to be stuck #12055 @ hongyunyandocs.pingcap.com/tidb/stable/release-7.5.7
이전 릴리스에서는 가상 컬럼이 있는 테이블에서 이벤트 필터 표현식을 평가할 때 패닉이 발생할 수 있었습니다.
- Fix the issue that evaluating event filter expressions on tables containing virtual columns might cause a panic #12206 @ lidezhudocs.pingcap.com/tidb/stable/release-7.5.7
컬럼 및 인덱스 이름을 대소문자를 구분해 매칭할 때 문제가 발생했습니다. 그에 따른 매칭 규칙은 명시되지 않았습니다.
- Fix the issue of case-sensitive matching for column and index names in the dispatcher configuration #12103 @ wk989898docs.pingcap.com/tidb/stable/release-7.5.7
클라우드 스토리지에서 TiDB로 Parquet 파일을 임포트할 때 TiDB Lightning이 몇 시간 동안 멈출 수 있었습니다.
- Fix the issue that TiDB Lightning can get stuck for several hours when importing Parquet files from cloud storage into TiDB #60224 @ joechenrhdocs.pingcap.com/tidb/stable/release-7.5.7
TiKV로 보내는 RPC 요청이 타임아웃되면 TiDB Lightning이 context deadline exceeded 오류를 반환했습니다.
- Fix the issue that TiDB Lightning returns the context deadline exceeded error when the RPC request to TiKV times out #61326 @ OliverS929docs.pingcap.com/tidb/stable/release-7.5.7
TSDB가 고카디널리티 시계열 데이터를 처리할 때 메모리를 지나치게 많이 사용했으며, 이번 릴리스에서 이 문제가 수정됐습니다.
- Fix the issue that TSDB consumes too much memory under high cardinality of time series data, and provide a memory configuration option for TSDB #295 @ mornyxdocs.pingcap.com/tidb/stable/release-7.5.7
시계열 데이터의 카디널리티가 높으면 TSDB가 메모리를 지나치게 많이 사용할 수 있었습니다. 이번 릴리스에는 TSDB 메모리 설정 옵션도 추가됐습니다.
- Fix the issue that TSDB consumes too much memory under high cardinality of time series data, and provide a memory configuration option for TSDB #295 @ mornyxdocs.pingcap.com/tidb/stable/release-7.5.7
- tikv/tikv#17395 - Support dynamically modifying flow-control configurations for write operations #17395 @ glorvgithub.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18684github.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18276github.com/tikv/tikv/releases/tag/v7.5.7
- TiKV deprecates the following configuration items and replaces them with the new gc.auto-compaction configuration group, which controls automatic compaction behavior #18727 @ v01dstar - New configuration items: gc.auto-compaction.check-interval , gc.auto-compaction.tombstone-num-threshold , gc.auto-compaction.tombstone-percent-threshold , gc.auto-compaction.redundant-rows-threshold , gc.auto-compaction.redundant-rows-percent-threshold , and gc.auto-compaction.bottommost-level-force .docs.pingcap.com/tidb/stable/release-7.5.7
- Add flow control interfaces for Region splitting and data ingestion during data import #61553 @ tangentadocs.pingcap.com/tidb/stable/release-7.5.7
- Add a monitoring metric to observe the write speed to TiKV during index addition #60925 @ CbcWestwolfdocs.pingcap.com/tidb/stable/release-7.5.7
NOT NULL 컬럼의 IS NULL 검사를 FALSE로 상수 폴딩- Support constant folding for columns with NOT NULL constraints, folding IS NULL evaluations into FALSE #62050 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
- The optimizer supports constant propagation in more types of JOIN operations #51700 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
- Add metrics for memory usage per thread #15927 @ Connor1996docs.pingcap.com/tidb/stable/release-7.5.7
- Add slow logs for peer and store messages #16600 @ Connor1996docs.pingcap.com/tidb/stable/release-7.5.7
- Add GO runtime-related monitoring metrics in Prometheus #8931 @ bufferfliesdocs.pingcap.com/tidb/stable/release-7.5.7
AwakenRegions 메시지 처리 개선- tikv/tikv#18533github.com/tikv/tikv/releases/tag/v7.5.7
CompactedEvent(RocksCompactedEvent) 처리 지연 개선- tikv/tikv#18532github.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#16443github.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18107github.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#17412github.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18081 - Support ingesting SST files without blocking foreground writes, reducing the impact of latency #18081 @ hhwytgithub.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18452 - Fix the issue that TiKV allows excessive SST ingest requests under high concurrency #18452 @ hbishenggithub.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18463 - Optimize the detection mechanism for I/O jitter on KvDB disks when KvDB and RaftDB use separate mount paths #18463 @ LykxSassinatorgithub.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18695github.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18697github.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18633github.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18743github.com/tikv/tikv/releases/tag/v7.5.7
gc_worker로 이동- tikv/tikv#18727github.com/tikv/tikv/releases/tag/v7.5.7
- tikv/tikv#18799github.com/tikv/tikv/releases/tag/v7.5.7
- Optimize the performance of obtaining data distribution information when performing simple queries on tables with large data volumes #53850 @ you06docs.pingcap.com/tidb/stable/release-7.5.7
- Optimize the locking logic of DML during DDL execution to reduce lock conflicts between DML and DDL operations, improving DDL performance in some scenarios. However, due to the additional secondary index locking operations, DML performance might decrease slightly #62337 @ lcwangchaodocs.pingcap.com/tidb/stable/release-7.5.7
tidb_opt_ordering_index_selectivity_threshold 제어 개선- Improve the behavior when the system variable tidb_opt_ordering_index_selectivity_threshold is set to 1 , enhancing the control capability of this variable #60242 @ time-and-fatedocs.pingcap.com/tidb/stable/release-7.5.7
- Improve the performance of temporary index merging when extensive lock conflicts exist between DML and DDL operations #61433 @ tangentadocs.pingcap.com/tidb/stable/release-7.5.7
- Optimize the trigger logic of TiKV compaction to process all data segments in order of reclamation efficiency, reducing the performance impact of MVCC redundant data #18571 @ v01dstardocs.pingcap.com/tidb/stable/release-7.5.7
- Optimize the tail latency of async snapshot and write operations in environments with a large number of SST files #18743 @ Connor1996docs.pingcap.com/tidb/stable/release-7.5.7
- Improve the speed of Region Merge in scenarios with empty tables and small Regions #17376 @ LykxSassinatordocs.pingcap.com/tidb/stable/release-7.5.7
CompactedEvent 처리의 split-check 워커 이전- Optimize the handling of CompactedEvent in Raftstore by moving it to the split-check worker, reducing blocking on the main Raftstore thread #18532 @ LykxSassinatordocs.pingcap.com/tidb/stable/release-7.5.7
get_sst_key_ranges 호출 생략- Log only SST ingest is experiencing slowdowns when SST ingest is too slow, and skip calling get_sst_key_ranges to avoid performance jitter #18549 @ LykxSassinatordocs.pingcap.com/tidb/stable/release-7.5.7
- Optimize the jittery access delay when restarting TiKV due to waiting for the log to be applied, improving the stability of TiKV #15874 @ LykxSassinatordocs.pingcap.com/tidb/stable/release-7.5.7
- Optimize the cleanup mechanism of residual data to mitigate the impact on request latency #18107 @ LykxSassinatordocs.pingcap.com/tidb/stable/release-7.5.7
- Optimize the cleanup mechanism of residual data to mitigate the impact on request latency #18107 @ LykxSassinatordocs.pingcap.com/tidb/stable/release-7.5.7
fetch_entries_to 경합 감소- Optimize the performance of fetch_entries_to in Raft Engine to reduce contention and improve performance under mixed workloads #18605 @ LykxSassinatordocs.pingcap.com/tidb/stable/release-7.5.7
- Reduce unnecessary error logs #9370 @ bufferfliesdocs.pingcap.com/tidb/stable/release-7.5.7
- Enhance the observability for TiFlash OOM risks in wide table scenarios #10272 @ JaySon-Huangdocs.pingcap.com/tidb/stable/release-7.5.7
- Increase the maximum retry count when acquiring storage snapshots to improve query stability for large tables #10300 @ JaySon-Huangdocs.pingcap.com/tidb/stable/release-7.5.7
- Fix the issue that MPP plans might not be selected when indexes on generated columns are set as visible #47766 @ AilinKiddocs.pingcap.com/tidb/stable/release-7.5.7
- Remove redundant log entries when the IndexLookup operator encounters a context canceled error #61072 @ yibin87docs.pingcap.com/tidb/stable/release-7.5.7
BIT 테이블의 TiDB 통계 로딩 수정- Fix the issue that statistics for tables of the BIT type cannot be loaded #62289 @ YangKeaodocs.pingcap.com/tidb/stable/release-7.5.7
- Fix the issue that statistics for BIT type columns fail to be loaded into memory #59759 @ YangKeaodocs.pingcap.com/tidb/stable/release-7.5.7
- Fix the issue that the cost formulas displayed in explain format="cost_trace" might contain empty parentheses #61127 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
- Fix the issue that internal queries might fail to construct index range queries properly when using NULL #62196 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
- Fix the issue that the concurrency of ANALYZE subtasks greatly exceeds the configured limit #61785 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
- Fix the issue that TiDB might print panic logs in the background when column or index statistics are missing #61733 @ winorosdocs.pingcap.com/tidb/stable/release-7.5.7
- Fix the issue that Plan Cache is incorrectly skipped with predicate simplification #61513 @ hawkingreidocs.pingcap.com/tidb/stable/release-7.5.7
lease 값 수정- Fix the issue that the default value of lease is not correctly set #9156 @ rleungxdocs.pingcap.com/tidb/stable/release-7.5.7
- Fix the issue that missing resource control low token signals lead to query throttling #10137 @ guo-shaogedocs.pingcap.com/tidb/stable/release-7.5.7
- Fix the issue that TiFlash might return the Exception: Block schema mismatch error when executing SQL statements containing GROUP BY ... WITH ROLLUP #10110 @ gengliqidocs.pingcap.com/tidb/stable/release-7.5.7
-f 테이블 필터링 시 BR의 테이블 존재 여부 확인 수정- Fix the issue that BR does not check whether the corresponding table exists in the cluster when filtering tables with -f #61592 @ RidRisRdocs.pingcap.com/tidb/stable/release-7.5.7
정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.