# TiKV v7.5.7

2025-09-04 · [릴리스 노트 원문](https://github.com/tikv/tikv/releases/tag/v7.5.7) · [전체 정리](https://ratatosk.io/ko/releases/tikv/v7.5.7)

보안 2 · 호환성 변경 2 · 폐기 예정 1 · 중요 수정 63 · 기능·개선 11 · 기타 43

## 보안 (2)

### 영향을 받던 시나리오에서 Redact log 적용

- 영향 대상: Redact log를 활성화한 환경

일부 시나리오에서는 Redact log를 활성화해도 효과가 없었습니다.

> - Fix the issue that enabling Redact log does not take effect in certain scenarios #59279 @ tangenta

https://docs.pingcap.com/tidb/stable/release-7.5.7

### SST ingest 경고 로그의 키 축약·마스킹 및 16진수 형식화

- 영향 대상: SST ingest 경고 로그 (추정)

TiKV가 `sst ingest is too slow` 경고를 출력할 때 로그가 지나치게 길어지고, 원시 키가 노출되며, 키가 16진수 형식 없이 출력될 수 있었습니다.

> - tikv/tikv#18549

## 호환성 변경 (2)

### 히스토리 통계 기본값이 이제 OFF

- 영향 대상: 기본값에 의존하는 `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 @ hawkingrei

https://docs.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 @ 0xPoe

https://docs.pingcap.com/tidb/stable/release-7.5.7

## 폐기 예정 (1)

### TiKV 자동 컴팩션 설정 지원 중단 예정

- 영향 대상: 다음 설정 중 하나를 사용하는 TiKV 구성: `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 .

https://docs.pingcap.com/tidb/stable/release-7.5.7

## 중요 수정 (63)

### 스레드별 매핑 할당량 메트릭 수정

- 영향 대상: 사용 중인 스레드별 매핑 할당량 메트릭

할당 바이트율에는 `sst-importer`와 `apply` 스레드의 할당이 표시됐지만, 메트릭에는 사용하지 않는 `sched-worker-high`와 `unified-read-pool` 스레드의 메모리 사용량이 높은 것으로 표시됐습니다.

> - tikv/tikv#18125
> - Fix incorrect thread memory metrics #18125 @ Connor1996

### SQL 다이제스트 불일치 수정

- 영향 대상: SQL 다이제스트 생성 (추정)

`_charset(xxx)` 및 `_charset(xxx2)`처럼 문자 집합 도입자가 여러 개 포함된 SQL 문은 서로 다른 다이제스트를 생성할 수 있었습니다.

> - Fix the issue that SQL statements containing _charset(xxx), _charset(xxx2), ... generate different digests #58447 @ xhebox

https://docs.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 @ nolouch

https://docs.pingcap.com/tidb/stable/release-7.5.7

### Grafana Stats Healthy Distribution 패널 데이터 오류 수정

- 영향 대상: Stats Healthy Distribution 패널을 사용하는 Grafana 설정 (추정)

이 수정 전에는 패널에 잘못된 데이터가 표시될 수 있었습니다.

> - Fix the issue that the data in the Stats Healthy Distribution panel of Grafana might be incorrect #57176 @ hawkingrei

https://docs.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 @ hawkingrei

https://docs.pingcap.com/tidb/stable/release-7.5.7

### [드러나지 않던 결함] TiDB `ADD UNIQUE INDEX` 데이터 불일치 수정

- 영향 대상: `ADD UNIQUE INDEX`를 실행하는 TiDB 환경

이 수정 전에는 `ADD UNIQUE INDEX`를 실행하면 데이터 불일치가 발생할 수 있었습니다.

> - Fix the issue that executing ADD UNIQUE INDEX might cause data inconsistency #60339 @ tangenta

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB 통계 시스템 테이블에 비공개 인덱스가 더 이상 표시되지 않음

- 영향 대상: 비공개 인덱스가 있는 상태에서 통계 시스템 테이블을 조회하는 TiDB 구성 (추정)

이전에는 통계 시스템 테이블에 비공개 인덱스가 표시됐습니다.

> - Fix the issue that non-public indexes are shown in the statistics system table #60430 @ tangenta

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TopN 통계의 TiDB 행 수 추정 수정

- 영향 대상: 수집된 모든 컬럼 통계가 TopN에 있고 이후 쓰기가 발생하는 TiDB 구성

이후 쓰기가 발생한 뒤에도 행 수 추정값이 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 @ terry1purcell

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB `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 @ hawkingrei

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 여러 달 또는 여러 해에 걸친 TiDB 행 수 과대 추정 수정

- 영향 대상: 여러 달 또는 여러 해에 걸친 행 수를 추정하는 TiDB 구성 (추정)

여러 달 또는 여러 해에 걸친 행 수 추정치가 크게 과대 산정될 수 있었습니다.

> - Fix the issue that row count estimates across months or years can be significantly overestimated #50080 @ terry1purcell

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB JOIN 행 수 추정 정확도 개선

- 영향 대상: TiDB JOIN 행 수 추정 (추정)

JOIN에 필요한 컬럼 또는 인덱스 통계가 없으면 행 수 추정치가 크게 부정확할 수 있었습니다. 이번 릴리스에서 해당 추정 문제를 수정했습니다.

> - Fix the issue that row count estimation for JOIN can be highly inaccurate when column or index statistics are missing #61602 @ qw4990

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 첫 번째 열이 가상 생성 열인 테이블의 TiDB 통계 수정

- 영향 대상: 첫 번째 열이 가상 생성 열인 TiDB 테이블 (추정)

이번 릴리스 전에는 이러한 테이블의 통계가 잘못될 수 있었으며, 이번 릴리스에서 문제가 수정되었습니다.

> - Fix the issue that statistics might be incorrect when the first column of a table is a virtual generated column #61606 @ winoros

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 실패했는데 성공으로 보고하는 문제 수정

- 영향 대상: ADMIN CHECK 작업

검사 도중 내부 SQL 실행이 실패하면 문제가 발생했습니다.

> - Fix the issue that ADMIN CHECK still returns success even after some internal SQL executions fail #61612 @ joechenrh

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiKV Grafana 대시보드의 두 메트릭 표시 수정

- 영향 대상: TiKV Grafana 대시보드의 `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 @ Connor1996

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 브라질 및 이집트 시간대 변환 수정

- 영향 대상: 브라질 또는 이집트의 시간대 변환을 수행하는 TiKV 워크로드

TiKV가 브라질 또는 이집트의 시간대를 변환할 때 잘못된 결과를 낼 수 있었습니다.

> - Fix the issue that TiKV converts the time zone incorrectly for Brazil and Egypt #16220 @ overvenus

https://docs.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 @ lhy1024

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiKV 스케일링 후 resolved ts lag 지속 증가 문제 수정

- 영향 대상: 동일한 IP 주소에서 노드를 스케일 인하거나 아웃하는 TiKV 클러스터

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 @ 3AceShowHand

https://docs.pingcap.com/tidb/stable/release-7.5.7

### SST 복원에 CF별 타임스탬프 필터링 추가

- 영향 대상: 타임스탬프가 겹치는 SST 버전을 사용하는 `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 @ 3pointer

### raftstore 슬로우 로그 메시지 인덱스 표시 수정

- 영향 대상: `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 @ LykxSassinator

### 복구 후 다른 TiKV 노드를 slow store로 잘못 감지하는 문제 수정

- 영향 대상: TiKV 장애 복구를 겪는 클러스터

TiKV 노드 하나의 장애가 복구된 뒤 다른 노드가 slow store로 감지되어 해당 노드의 리더가 축출됐고, 보고된 QPS가 50% 감소했습니다.

> - tikv/tikv#18605

### 정상 종료 중 진행 중인 수동 컴팩션 작업 취소 가능

- 영향 대상: 수동 컴팩션 작업을 실행하는 TiKV 노드

정상 종료 중에도 진행 중인 작업이 계속 실행되어 롤링 재시작이나 종료가 지연될 수 있었습니다.

> - tikv/tikv#18396
> - Fix the issue that TiKV fails to terminate ongoing manual compaction tasks during graceful shutdown #18396 @ LykxSassinator

### 재시작 후 `busy apply` 상태에 머무는 TiKV Raft 피어 문제 수정

- 영향 대상: 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 @ LykxSassinator

### 비메모리 소스에서 Azure Blob 업로드가 느려지는 문제 수정

- 영향 대상: 업로드 데이터를 비메모리 소스에서 읽는 Azure Blob 백업

보고된 사례에서는 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 @ YuJuncen

### CPU 프로파일링 중 Raftstore 데드락 수정

- 영향 대상: CPU 프로파일링을 사용하는 AWS arm 기반 TiKV 배포

CPU 프로파일링 중 데드락이 발생하면 `raftstore` 스레드가 막혀 PD에 하트비트를 보내지 못하고, TiKV가 연결이 끊긴 것처럼 보일 수 있었습니다.

> - tikv/tikv#18474
> - Fix the issue that a deadlock might be triggered during CPU profiling #18474 @ YangKeao

### 중복 `Task::Compact` 컴팩션 문제 수정

- 영향 대상: MVCC 버전이 한 행에 속하는 대규모 리전

`cleanup_worker`에 처리 대기 중인 작업이 있고 컴팩션이 필요한 리전이 많을 때, 분할할 수 없는 대규모 리전이 `Task::Compact` 요청을 반복해서 큐에 넣을 수 있었습니다. 중복된 수동 컴팩션은 유용한 작업을 하지 않으면서 컴팩션이 필요한 다른 작업을 막았습니다.

> - tikv/tikv#18451

### `utf8mb4_unicode_ci`의 잘못된 결과 수정

- 영향 대상: `utf8mb4_unicode_ci` 콜레이션 (추정)

> - tikv/tikv#18784

### TiFlash 복제본으로 인한 온라인 unsafe recovery 차단 수정

- 영향 대상: TiFlash를 사용하고 온라인 unsafe recovery와 자동 실패 스토어 감지를 사용하는 클러스터

일부 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 @ v01dstar

### BR의 Amazon S3 백업용 IMDSv2 지원

- 영향 대상: Amazon EC2에서 인스턴스의 IAM 역할을 사용해 BR이 Amazon S3에 액세스하는 TiDB 배포

이전에는 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 @ pingyu

https://docs.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 @ you06

https://docs.pingcap.com/tidb/stable/release-7.5.7

### Hash Aggregation 고루틴 누수 수정

- 영향 대상: Hash Aggregation 오퍼레이터를 사용하는 구성 (추정)

> - Fix a potential goroutine leak issue in the Hash Aggregation operator #58004 @ xzhangxian1008

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 잦은 Region 병합으로 인한 TTL 작업 시작 차단 문제 수정

- 영향 대상: TTL 작업을 실행하는 설정 (추정)

Region 병합이 자주 발생하면 TTL 작업이 시작되지 않을 수 있었습니다.

> - Fix the issue that frequent Region merges prevent TTL jobs from starting #61512 @ YangKeao

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 정보 손실 DDL 실행 후 TiFlash 쿼리 불일치 수정

- 영향 대상: TiFlash 쿼리 (추정)

정보 손실을 일으키는 DDL 문을 실행한 뒤 TiFlash 쿼리 결과가 일치하지 않을 수 있었습니다.

> - Fix the issue that TiFlash query results are inconsistent after executing a lossy DDL statement #61455 @ Lloyd-Pottiger

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 스키마 버전 업데이트 실패 후 멈추던 DDL 작업 수정

- 영향 대상: 메타데이터 잠금(MDL)을 비활성화한 구성

이 구성에서는 스키마 버전 업데이트에 실패하면 DDL 작업이 멈출 수 있었습니다.

> - Fix the issue that after disabling metadata locking (MDL), DDL operations get stuck after failing to update the schema version #61210 @ wjhuang2016

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB 세션 충돌 수정

- 영향 대상: `Fix Control #44855`을 활성화한 구성

`Fix Control #44855`을 활성화하면 TiDB 세션이 충돌할 수 있었습니다.

> - Fix the issue that a TiDB session might crash when Fix Control #44855 is enabled #59762 @ winoros

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 태스크 타임아웃 시 TiDB 인메모리 통계 삭제 문제 수정

- 영향 대상: TiDB 통계 예외 처리

백그라운드 태스크가 타임아웃되면 통계 예외 처리가 잘못되어 인메모리 통계가 실수로 삭제될 수 있었습니다.

> - Fix the issue that improper exception handling for statistics causes in-memory statistics to be mistakenly deleted when background tasks time out #57901 @ hawkingrei

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB Hash Join v1 패닉 복구 수정

- 영향 대상: TiDB에서 Hash Join v1 오퍼레이터를 사용하는 설정

`Close()` 메서드에서 패닉이 발생하면 이를 복구하지 못했습니다.

> - Fix the issue that the Close() method of the Hash Join v1 operator fails to recover from a panic #60926 @ xzhangxian1008

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiFlash 얕은 복사로 인한 크래시 및 잘못된 결과 수정

- 영향 대상: TiFlash를 사용하는 TiDB 구성

`PhysicalExchangeSender.HashCol`을 얕게 복사하면 TiFlash가 크래시를 일으키거나 잘못된 결과를 낼 수 있었습니다.

> - Fix the issue that shallow copy of PhysicalExchangeSender.HashCol causes TiFlash to crash or generate incorrect results #60517 @ windtalker

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB 최신 통계 업데이트 실패 수정

- 영향 대상: `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 @ 0xPoe

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB 순환 외래 키 무한 루프 문제 수정

- 영향 대상: 순환 외래 키 정의를 사용하는 TiDB 구성 (추정)

이 수정 전에는 순환 외래 키 정의로 인해 무한 루프가 발생할 수 있었습니다.

> - Fix the issue that circular foreign key definitions cause infinite loops #60985 @ hawkingrei

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB Plan Cache 실행 계획 오류 수정

- 영향 대상: Plan Cache를 사용하는 TiDB 환경 (추정)

이전에는 Plan Cache가 잘못된 실행 계획을 저장할 수 있어 실행 오류가 발생했습니다.

> - Fix the issue that Plan Cache stores an incorrect execution plan, causing execution errors #56772 @ dash12653

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB TopN 푸시다운 정렬 항목 생성 오류 수정

- 영향 대상: 표현식 기반 정렬 항목을 사용하는 TopN 푸시다운 쿼리 (추정)

TopN 푸시다운 중 표현식 기반 정렬 항목이 잘못 생성될 수 있던 문제가 수정되었습니다.

> - Fix the issue that an expression-based TopN sort item is incorrectly generated during TopN pushdown #60655 @ hawkingrei

https://docs.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 @ hawkingrei

https://docs.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 @ tangenta

https://docs.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 @ tangenta

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiKV의 클라이언트 비호환 압축 알고리즘 사용 수정

- 영향 대상: `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 @ ekexium

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB Dashboard 연결로 인한 PD 고루틴 누수 수정

- 영향 대상: TiDB Dashboard의 TCP 연결을 처리하는 PD 구성

TiDB Dashboard의 TCP 연결이 제대로 닫히지 않으면 PD에서 고루틴이 누수될 수 있었습니다. 이 누수를 수정했습니다.

> - Fix the issue that improperly closing TiDB Dashboard TCP connections could lead to PD goroutine leaks #9402 @ baurine

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 새로 추가된 TiKV 노드의 스케줄링 실패 수정

- 영향 대상: 새로 추가된 TiKV 노드를 스케줄링하는 PD 구성

이 수정 전에는 새로 추가된 TiKV 노드가 스케줄링되지 않을 수 있었습니다.

> - Fix the issue that newly added TiKV nodes might fail to be scheduled #9145 @ bufferflies

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TSO 서비스 이용 불가 문제 수정

- 영향 대상: `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 @ Tema

https://docs.pingcap.com/tidb/stable/release-7.5.7

### SST 파일 삭제로 인한 TiFlash 패닉 수정

- 영향 대상: TiFlash에서 `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 @ CalvinNeo

https://docs.pingcap.com/tidb/stable/release-7.5.7

### NULL 표현식 인덱스로 인한 TiFlash 패닉 수정

- 영향 대상: `((NULL))` 형식의 표현식 인덱스를 사용하는 TiFlash 구성

이번 릴리스 전에는 `((NULL))` 형식으로 표현식 인덱스를 만들면 TiFlash에서 패닉이 발생할 수 있었습니다. 이제 이 형식의 표현식 인덱스를 만들어도 패닉이 발생하지 않습니다.

> - Fix the issue that creating an expression index in the form of ((NULL)) causes TiFlash to panic #9891 @ JaySon-Huang

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiFlash 스냅샷 처리 중 패닉 수정

- 영향 대상: 불규칙한 Region 키 범위의 스냅샷을 처리하는 TiFlash 구성

이번 릴리스 전에는 TiFlash가 불규칙한 Region 키 범위의 스냅샷을 처리할 때 패닉이 발생할 수 있었습니다. 이제 해당 패닉이 수정되었습니다.

> - Fix the issue that TiFlash might panic when handling snapshots with irregular Region key-ranges #10147 @ JaySon-Huang

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiFlash의 과도한 메모리 사용 수정

- 영향 대상: TiFlash 클러스터 테이블

클러스터 테이블에 `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-Huang

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 대용량 행 삽입 후 TiFlash 재시작 실패 수정

- 영향 대상: 16 MiB보다 큰 단일 행을 삽입하는 TiFlash 워크로드

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-Huang

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 대형 인덱스의 PITR 복원 실패 수정

- 영향 대상: PITR로 3072바이트를 초과하는 인덱스를 복원하는 환경

PITR에서 3072바이트를 초과하는 인덱스를 복원하지 못했습니다.

> - Fix the issue that PITR fails to restore indexes larger than 3072 bytes #58430 @ YuJuncen

https://docs.pingcap.com/tidb/stable/release-7.5.7

### 외부 스토리지를 사용하는 TiCDC changefeed의 stuck 상태 문제 수정

- 영향 대상: 외부 스토리지를 다운스트림으로 사용하는 TiCDC changefeed

> - Fix the issue that the changefeed might get stuck when using external storage as the downstream #9162 @ asddongmen

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiCDC Kafka changefeed 멈춤 문제 수정

- 영향 대상: Kafka를 다운스트림으로 사용하는 TiCDC changefeed

복제 트래픽이 다운스트림 Kafka 트래픽 임계값을 초과하면 changefeed가 멈출 수 있었습니다. 이 문제가 수정되었습니다.

> - Fix the issue that the changefeed might get stuck after the replication traffic exceeds the traffic threshold of the downstream Kafka #12110 @ 3AceShowHand

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiCDC changefeed 일시 중지 후 멈춤 현상 수정

- 영향 대상: `--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 @ hongyunyan

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiCDC 이벤트 필터 패닉 수정

- 영향 대상: 가상 컬럼이 있는 테이블의 TiCDC 이벤트 필터

이전 릴리스에서는 가상 컬럼이 있는 테이블에서 이벤트 필터 표현식을 평가할 때 패닉이 발생할 수 있었습니다.

> - Fix the issue that evaluating event filter expressions on tables containing virtual columns might cause a panic #12206 @ lidezhu

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiCDC 디스패처 설정의 대소문자 구분 이름 매칭 수정

- 영향 대상: 대소문자 구분 매칭의 영향을 받는 컬럼 또는 인덱스 이름이 포함된 TiCDC 디스패처 설정 (추정)

컬럼 및 인덱스 이름을 대소문자를 구분해 매칭할 때 문제가 발생했습니다. 그에 따른 매칭 규칙은 명시되지 않았습니다.

> - Fix the issue of case-sensitive matching for column and index names in the dispatcher configuration #12103 @ wk989898

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB Lightning 임포트 멈춤 문제 수정

- 영향 대상: 클라우드 스토리지에서 TiDB로 Parquet 파일을 임포트하는 TiDB Lightning 작업

클라우드 스토리지에서 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 @ joechenrh

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TiDB Lightning 타임아웃 오류 수정

- 영향 대상: TiKV에 RPC 요청을 보내는 TiDB Lightning

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 @ OliverS929

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TSDB의 과도한 메모리 사용 수정

- 영향 대상: 고카디널리티 시계열 데이터를 처리하는 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 @ mornyx

https://docs.pingcap.com/tidb/stable/release-7.5.7

### TSDB 메모리 과다 사용 문제 수정

- 영향 대상: TSDB 배포 환경

시계열 데이터의 카디널리티가 높으면 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 @ mornyx

https://docs.pingcap.com/tidb/stable/release-7.5.7

## 기능·개선 (11)

- 온라인 플로우 컨트롤 구성 지원
- FSM 스케줄링 관련 메트릭 추가
- TiKV 대시보드에 Raftstore I/O 지속 시간 메트릭 추가
- TiKV 자동 컴팩션 설정 추가
- TiDB의 Region 분할 및 데이터 인제스트용 플로 컨트롤 인터페이스
- 인덱스 추가 중 TiKV 쓰기 속도 모니터링 메트릭
- `NOT NULL` 컬럼의 `IS NULL` 검사를 FALSE로 상수 폴딩
- 더 많은 JOIN 유형에 대한 상수 전파
- TiKV 스레드별 메모리 사용량 메트릭
- peer 및 store 메시지의 슬로 로그
- Prometheus용 PD 추가 Go 런타임 메트릭

## 기타 (43)

- 느린 `AwakenRegions` 메시지 처리 개선
- `CompactedEvent(RocksCompactedEvent)` 처리 지연 개선
- IMDSv2용 AWS 스토리지 자격 증명 조회 수정
- 스케일링 중 Peer 정리 최적화
- 대량의 빈 리전을 더 빠르게 분산
- 스냅샷 적용 및 리전 제거 경로의 SST 인제스천 중 쓰기 지속
- 동시 SST 인제스트에 대한 add-index 플로 컨트롤 수정
- KVDB I/O 지터 감지 및 복구
- GC 컴팩션에서 순위가 가장 높은 리전 우선 처리
- GC safe point를 고려한 컴팩션 점수 계산
- 잘못된 UTF-8 SQL 인코딩 오류 해결
- 비동기 스냅샷 처리 시간의 꼬리 지연 최적화
- GC용 컴팩션을 `gc_worker`로 이동
- tikv/tikv#18799
- 대규모 테이블의 단순 쿼리를 위한 데이터 분포 조회 최적화
- DDL 실행 중 DML 잠금 최적화
- `tidb_opt_ordering_index_selectivity_threshold` 제어 개선
- 임시 인덱스 병합 성능 개선
- 회수 효율 순으로 데이터 세그먼트를 처리하는 TiKV 컴팩션
- TiKV 비동기 스냅샷 및 쓰기 테일 레이턴시 최적화
- 빈 테이블과 소규모 리전 병합 속도 향상
- `CompactedEvent` 처리의 split-check 워커 이전
- 느린 SST 인제스트 중 TiKV의 `get_sst_key_ranges` 호출 생략
- TiKV 재시작 후 접근 지연 최적화
- 리전 밸런싱 중 ingest 없는 stale range 정리
- 스케일인 중 오프라인 스토어 데이터 유지
- Raft Engine `fetch_entries_to` 경합 감소
- PD의 불필요한 오류 로그 감소
- 와이드 테이블의 TiFlash OOM 위험 관측성 개선
- TiFlash 스토리지 스냅샷 재시도 한도 증가
- 생성 컬럼의 visible 인덱스가 있는 경우 MPP 플랜 선택 수정
- IndexLookup의 중복 로그 항목 제거
- `BIT` 테이블의 TiDB 통계 로딩 수정
- TiDB의 BIT 컬럼 통계 로딩 수정
- TiDB 비용 공식의 빈 괄호 수정
- TiDB 인덱스 범위 구성의 NULL 처리 수정
- TiDB에서 ANALYZE 하위 작업의 동시성 한도 초과 문제 수정
- TiDB 백그라운드 패닉 로그 출력 문제 수정
- 조건자 단순화 사용 시 Plan Cache 건너뛰기 오류 수정
- 기본 `lease` 값 수정
- TiFlash 쿼리 스로틀링 문제 수정
- 롤업 쿼리의 TiFlash 스키마 불일치 오류 수정
- `-f` 테이블 필터링 시 BR의 테이블 존재 여부 확인 수정

---

정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.
