Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

releases: add TiDB 7.1.0 release notes (stable version) #13484

Merged
merged 78 commits into from
May 31, 2023
Merged
Changes from 1 commit
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
cf13336
releases: add TiDB 7.1.0 release notes (stable version)
Oreoxmt May 9, 2023
aa7ba38
add partitioned raft kv, Distributed DDL, E2E checksum, and smooth cl…
Oreoxmt May 9, 2023
21da5ef
add tw id
Oreoxmt May 9, 2023
52ac28c
Apply suggestions from code review
ran-huang May 9, 2023
05eb701
Apply suggestions from code review
Oreoxmt May 10, 2023
ce60be0
Apply suggestions from code review
ran-huang May 10, 2023
3555928
Apply suggestions from code review
ran-huang May 10, 2023
76b4d3e
Update releases/release-7.1.0.md
hfxsd May 10, 2023
ac1318f
Update release-7.1.0.md
hfxsd May 10, 2023
41e9bb3
Update releases/release-7.1.0.md
hfxsd May 10, 2023
4b876e0
Update release-7.1.0.md
hfxsd May 10, 2023
34af64d
Merge branch 'v7.1.0-release-notes' of https://github.com/Oreoxmt/doc…
hfxsd May 10, 2023
af143c3
Update release-7.1.0.md
hfxsd May 10, 2023
8afa429
Update release-7.1.0.md
hfxsd May 10, 2023
a165375
Update release-7.1.0.md
hfxsd May 10, 2023
62bf1f1
Update releases/release-7.1.0.md
hfxsd May 10, 2023
67c7442
update non-prepared-plan-cache
Oreoxmt May 11, 2023
5d3ccf1
Apply suggestions from code review
hfxsd May 11, 2023
16b9ff3
Update releases/release-7.1.0.md
hfxsd May 11, 2023
9e283c6
remove upcoming
Oreoxmt May 11, 2023
7c1e1d1
Added to highlights table
samhld May 12, 2023
cfba80f
Update releases/release-7.1.0.md
samhld May 12, 2023
b41b2a7
Update releases/release-7.1.0.md
hfxsd May 12, 2023
a74e97a
Update releases/release-7.1.0.md
hfxsd May 12, 2023
6cb06ce
add LDAP note
ran-huang May 15, 2023
c89dafe
Update releases/release-7.1.0.md
ran-huang May 16, 2023
071b081
update compatibility changes, add improvements and bug fixes
Oreoxmt May 16, 2023
f695ddd
Apply suggestions from code review
hfxsd May 16, 2023
e56fcb2
Update releases/release-7.1.0.md
hfxsd May 16, 2023
2d60960
Apply suggestions from code review
hfxsd May 16, 2023
2b46cd4
add tidb_enable_row_level_checksum, integrity.corruption-handle-level…
Oreoxmt May 18, 2023
3382532
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 18, 2023
07d3015
Update tidb-roadmap.md since last LTS
samhld May 19, 2023
b1f65cd
Discard changes to tidb-roadmap.md
Oreoxmt May 19, 2023
488e713
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 22, 2023
708cf54
Apply suggestions from code review
Oreoxmt May 22, 2023
313bd71
update hightlight table
Oreoxmt May 22, 2023
553879c
Apply suggestions from code review
Oreoxmt May 22, 2023
ddd1be4
Update releases/release-7.1.0.md
ran-huang May 23, 2023
4932c8b
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 23, 2023
2ecd196
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 23, 2023
ea4cd14
add audit log enhancement highlights
lucifinil May 23, 2023
93949c6
correct format
lucifinil May 23, 2023
149d798
Update release-7.1.0.md
lucifinil May 23, 2023
392e575
Update releases/release-7.1.0.md
hfxsd May 24, 2023
dbb4cb3
Update releases/release-7.1.0.md
hfxsd May 24, 2023
5935a44
update highlight
Oreoxmt May 24, 2023
5ed2f42
Apply suggestions from code review
ran-huang May 24, 2023
2e94385
Apply suggestions from code review
hfxsd May 24, 2023
086b8a4
Apply suggestions from code review
Oreoxmt May 25, 2023
dbd06a2
update Improvements and Bug fixes
Oreoxmt May 25, 2023
57a3b09
Apply suggestions from code review
qiancai May 25, 2023
d9a0aa9
add TiKV, PD, TiCDC
Oreoxmt May 26, 2023
e1eb10e
Apply suggestions from code review
Oreoxmt May 26, 2023
4940dba
Apply suggestions from code review
qiancai May 26, 2023
3914b6a
Apply suggestions from code review
qiancai May 26, 2023
bbaf476
Update releases/release-7.1.0.md
D3Hunter May 26, 2023
cf9f8dc
Apply suggestions from code review
hfxsd May 29, 2023
31bf8c2
Apply suggestions from code review
Oreoxmt May 29, 2023
7a0bd94
update contributor list and remove issue 42323
Oreoxmt May 29, 2023
f4274a6
Apply suggestions from code review
ran-huang May 29, 2023
462c08c
Apply suggestions from code review
qiancai May 29, 2023
ba3404e
Apply suggestions from code review
ran-huang May 29, 2023
92f4bc7
Update releases/release-7.1.0.md
hfxsd May 29, 2023
c0f42e1
Apply suggestions from code review
Oreoxmt May 29, 2023
7dd8846
- update links tp v7.1
Oreoxmt May 30, 2023
1678c11
Update releases/release-7.1.0.md
D3Hunter May 30, 2023
2e71673
Update releases/release-7.1.0.md
D3Hunter May 30, 2023
d4cd29f
Update releases/release-7.1.0.md
D3Hunter May 30, 2023
6171208
Apply suggestions from code review
hfxsd May 30, 2023
795540a
remove deprecated feature
Oreoxmt May 30, 2023
fbfb586
Apply suggestions from code review
Oreoxmt May 30, 2023
bfbb7dc
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 30, 2023
b245147
- update release data
Oreoxmt May 30, 2023
db9d77f
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 31, 2023
3a456d2
fix typo and ci
Oreoxmt May 31, 2023
e58e9ba
update release date
Oreoxmt May 31, 2023
33484a5
Apply suggestions from code review
Oreoxmt May 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Ran <huangran.alex@gmail.com>
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
  • Loading branch information
4 people authored May 29, 2023
commit 31bf8c2891f55f63de0b6ba05a281a255a6d719f
61 changes: 32 additions & 29 deletions releases/release-7.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,10 @@ Compared with the previous LTS 6.5.0, 7.1.0 not only includes new features, impr
| TiCDC | [`integrity.integrity-check-level`](/ticdc/ticdc-changefeed-config.md#cli-and-configuration-parameters-of-ticdc-changefeeds) | Newly added | Controls whether to enable the checksum validation for single-row data. The default value is `"none"`, which means to disable the feature. |
| TiCDC | [`sink.enable-partition-separator`](/ticdc/ticdc-changefeed-config.md#cli-and-configuration-parameters-of-ticdc-changefeeds) | Modified | Changes the default value from `false` to `true` after further tests, meaning that partitions in a table are stored in separate directories by default. It is recommended that you keep the value as `true` to avoid the potential issue of data loss during replication of partitioned tables to storage services. |

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
## Deprecated feature

The [optimistic transaction mode](/optimistic-transaction.md) will be deprecated in a future release. Starting from v7.1.0, it is not recommended to set the value of `tidb_txn_mode` to `"optimistic"` or `""`.
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

## Improvements

+ TiDB
Expand All @@ -391,11 +395,10 @@ Compared with the previous LTS 6.5.0, 7.1.0 not only includes new features, impr

<!-- **tw:Oreoxmt** (5)-->

- Reduce the impact of Split on write QPS under partitioned Raft KV [#14447](https://github.com/tikv/tikv/issues/14447) @[SpadeA-Tang](https://github.com/SpadeA-Tang)
- Optimize the space occupied by snapshots under partitioned Raft KV [#14581](https://github.com/tikv/tikv/issues/14581) @[bufferflies](https://github.com/bufferflies)
- Optimize the default parameters of load-based split according to the size of the Region [#14834](https://github.com/tikv/tikv/issues/14834) @[tonyxuqqi](https://github.com/tonyxuqqi)
- Record detailed times of each stage in TiKV processing requests [#12362](https://github.com/tikv/tikv/issues/12362) @[cfzjywxk](https://github.com/cfzjywxk)
- Use PD as metastore [#13867](https://github.com/tikv/tikv/issues/13867) @[YuJuncen](https://github.com/YuJuncen)
- Reduce the impact of split operations on write QPS when using partitioned Raft KV [#14447](https://github.com/tikv/tikv/issues/14447) @[SpadeA-Tang](https://github.com/SpadeA-Tang)
- Optimize the space occupied by snapshots when using partitioned Raft KV [#14581](https://github.com/tikv/tikv/issues/14581) @[bufferflies](https://github.com/bufferflies)
- Provide more detailed time information for each stage of processing requests in TiKV [#12362](https://github.com/tikv/tikv/issues/12362) @[cfzjywxk](https://github.com/cfzjywxk)
- Use PD as metastore in log backup [#13867](https://github.com/tikv/tikv/issues/13867) @[YuJuncen](https://github.com/YuJuncen)

+ PD

Expand All @@ -415,7 +418,7 @@ Compared with the previous LTS 6.5.0, 7.1.0 not only includes new features, impr

+ Backup & Restore (BR)
<!-- **tw:hfxsd** (1) -->
- Support for online modification of `tikv.log-backup.max-flush-interval` configuration [#14433](https://github.com/tikv/tikv/issues/14433) @[joccau](https://github.com/joccau)
- Support modifying the `tikv.log-backup.max-flush-interval` configuration item during backing up logs [#14433](https://github.com/tikv/tikv/issues/14433) @[joccau](https://github.com/joccau)
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

+ TiCDC
<!-- **tw:ran-huang** (6) -->
Expand All @@ -428,34 +431,34 @@ Compared with the previous LTS 6.5.0, 7.1.0 not only includes new features, impr

+ TiDB Lightning
<!-- **tw:hfxsd** (3) -->
- Change the Region distribution precheck item from Critical to Warn [#42836](https://github.com/pingcap/tidb/issues/42836) @[okJiang](https://github.com/okJiang)
- Add retry for unknown RPC errors during import [#43291](https://github.com/pingcap/tidb/issues/43291) @[D3Hunter](https://github.com/D3Hunter)
- Enhance Region job retry [#43682](https://github.com/pingcap/tidb/issues/43682) @[lance6716](https://github.com/lance6716)
- Change the severity level of the precheck item related to uneven distribution of regions from `Critical` to `Warn` to avoid blocking users from importing data [#42836](https://github.com/pingcap/tidb/issues/42836) @[okJiang](https://github.com/okJiang)
- Add retry after an unknown RPC error occurs during data import [#43291](https://github.com/pingcap/tidb/issues/43291) @[D3Hunter](https://github.com/D3Hunter)
- Enhance the retry mechanism for region jobs [#43682](https://github.com/pingcap/tidb/issues/43682) @[lance6716](https://github.com/lance6716)
D3Hunter marked this conversation as resolved.
Show resolved Hide resolved

## Bug fixes

+ TiDB

<!-- **tw:Oreoxmt** (18) -->

- Fix the issue that a prompt for manual `analyze table` was added after reorganize partition [#42183](https://github.com/pingcap/tidb/issues/42183) @[CbcWestwolf](https://github.com/CbcWestwolf)
- Fix the issue that there is no prompt to manually execute `ANALYZE TABLE` after reorganizing partitions [#42183](https://github.com/pingcap/tidb/issues/42183) @[CbcWestwolf](https://github.com/CbcWestwolf)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- (dup) Fix the issue of missing table names in the `ADMIN SHOW DDL JOBS` result when a `DROP TABLE` operation is being executed [#42268](https://github.com/pingcap/tidb/issues/42268) @[tiancaiamao](https://github.com/tiancaiamao)
- Fix the issue that sometimes you can't see the `Ignore Event Per Minute` and `Stats Cache LRU Cost` charts in the monitoring panel [#42562](https://github.com/pingcap/tidb/issues/42562) @[pingandb](https://github.com/pingandb)
- Fix the issue of incorrect results for the `ORDINAL_POSITION` column in the `INFORMATION_SCHEMA.COLUMNS` table query [#43379](https://github.com/pingcap/tidb/issues/43379) @[bb7133](https://github.com/bb7133)
- Fix the case sensitivity issue for some columns in the permission table [#41048](https://github.com/pingcap/tidb/issues/41048) @[bb7133](https://github.com/bb7133)
- Fix the issue that `Ignore Event Per Minute` and `Stats Cache LRU Cost` charts might not be displayed normally in the Grafana monitoring panel [#42562](https://github.com/pingcap/tidb/issues/42562) @[pingandb](https://github.com/pingandb)
- Fix the issue that `ORDINAL_POSITION` column returns incorrect results when querying the `INFORMATION_SCHEMA.COLUMNS` table [#43379](https://github.com/pingcap/tidb/issues/43379) @[bb7133](https://github.com/bb7133)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- Fix the case sensitivity issue in some columns of the permission table [#41048](https://github.com/pingcap/tidb/issues/41048) @[bb7133](https://github.com/bb7133)
- (dup) Fix the issue that after a new column is added in the cache table, the value is `NULL` instead of the default value of the column [#42928](https://github.com/pingcap/tidb/issues/42928) @[lqs](https://github.com/lqs)
- Fix the correctness issue of CTE results under the condition of predicate pushdown [#43645](https://github.com/pingcap/tidb/issues/43645) @[winoros](https://github.com/winoros)
- Fix the issue that CTE results are incorrect when pushing down predicates [#43645](https://github.com/pingcap/tidb/issues/43645) @[winoros](https://github.com/winoros)
- (dup) Fix the issue of DDL retry caused by write conflict when executing `TRUNCATE TABLE` for partitioned tables with many partitions and TiFlash replicas [#42940](https://github.com/pingcap/tidb/issues/42940) @[mjonss](https://github.com/mjonss)
- Fix the issue that a Warning is given if a user uses subpartition when creating a partitioned table [#41198](https://github.com/pingcap/tidb/issues/41198) [#41200](https://github.com/pingcap/tidb/issues/41200) @[mjonss](https://github.com/mjonss)
- Fix the issue of incompatibility with MySQL when dealing with value overflow issues in generated columns [#40066](https://github.com/pingcap/tidb/issues/40066) @[jiyfhust](https://github.com/jiyfhust)
- Fix the issue that reorganize partition and other DDL operations cannot be performed concurrently [#42442](https://github.com/pingcap/tidb/issues/42442) @[bb7133](https://github.com/bb7133)
- Fix the issue of error reporting when querying a partitioned table partitioned by the `FLOOR` function [#42323](https://github.com/pingcap/tidb/issues/42323) @[jiyfhust](https://github.com/jiyfhust)
- Fix the issue that subsequent other DDLs report errors after canceling the DDL's reorganize partition task [#42448](https://github.com/pingcap/tidb/issues/42448) @[lcwangchao](https://github.com/lcwangchao)
- Fix the issue of incorrect assertions for delete operations under certain conditions [#42426](https://github.com/pingcap/tidb/issues/42426) @[tiancaiamao](https://github.com/tiancaiamao)
- Fix the issue that there is no warning when using `SUBPARTITION` in creating partitioned tables [#41198](https://github.com/pingcap/tidb/issues/41198) [#41200](https://github.com/pingcap/tidb/issues/41200) @[mjonss](https://github.com/mjonss)
- Fix the incompatibility issue with MySQL when dealing with value overflow issues in generated columns [#40066](https://github.com/pingcap/tidb/issues/40066) @[jiyfhust](https://github.com/jiyfhust)
- Fix the issue that `REORGANIZE PARTITION` cannot be concurrent with other DDL operations [#42442](https://github.com/pingcap/tidb/issues/42442) @[bb7133](https://github.com/bb7133)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- Fix the issue that an error is reported when querying a partitioned table partitioned by the `FLOOR` function [#42323](https://github.com/pingcap/tidb/issues/42323) @[jiyfhust](https://github.com/jiyfhust)
- Fix the issue that canceling the partition reorganization task in DDL might cause subsequent DDL operations to fail [#42448](https://github.com/pingcap/tidb/issues/42448) @[lcwangchao](https://github.com/lcwangchao)
- Fix the issue that assertions on delete operations are incorrect under certain conditions [#42426](https://github.com/pingcap/tidb/issues/42426) @[tiancaiamao](https://github.com/tiancaiamao)
- (dup) Fix the issue that TiDB server cannot start due to an error in reading the cgroup information with the error message "can't read file memory.stat from cgroup v1: open /sys/memory.stat no such file or directory" [#42659](https://github.com/pingcap/tidb/issues/42659) @[hawkingrei](https://github.com/hawkingrei)
- Fix the issue of `Duplicate Key` error when updating the partition key data of a row on a partitioned table with a global index [#42312](https://github.com/pingcap/tidb/issues/42312) @[L-maple](https://github.com/L-maple)
- Fix the issue that the Scan Worker Time By Phase chart in the TTL monitoring panel does not display data [#42515](https://github.com/pingcap/tidb/issues/42515) @[lcwangchao](https://github.com/lcwangchao)
- Fix the issue that some queries return incorrect results on partitioned tables with a global index [#41991](https://github.com/pingcap/tidb/issues/41991) [#42065](https://github.com/pingcap/tidb/issues/42065) @[L-maple](https://github.com/L-maple)
- Fix the issue of `Duplicate Key` error when updating the partition key of a row on a partitioned table with a global index [#42312](https://github.com/pingcap/tidb/issues/42312) @[L-maple](https://github.com/L-maple)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- Fix the issue that the `Scan Worker Time By Phase` chart in the TTL monitoring panel does not display data [#42515](https://github.com/pingcap/tidb/issues/42515) @[lcwangchao](https://github.com/lcwangchao)
- Fix the issue that some queries on partitioned tables with a global index return incorrect results [#41991](https://github.com/pingcap/tidb/issues/41991) [#42065](https://github.com/pingcap/tidb/issues/42065) @[L-maple](https://github.com/L-maple)
<!-- **tw:ran-huang** (17) -->
- Fix the issue of displaying some error logs during the reorganize partition table process [#42180](https://github.com/pingcap/tidb/issues/42180) @[mjonss](https://github.com/mjonss)
- Fix the issue that the data length in the QUERY column of the `INFORMATION_SCHEMA.DDL_JOBS` table might be longer than the column definition [#42440](https://github.com/pingcap/tidb/issues/42440) @[tiancaiamao](https://github.com/tiancaiamao)
Expand Down Expand Up @@ -484,7 +487,7 @@ Compared with the previous LTS 6.5.0, 7.1.0 not only includes new features, impr
- Fix the issue that renaming tables does not take effect when committing multiple statements in a transaction [#39664](https://github.com/pingcap/tidb/issues/39664) @[tiancaiamao](https://github.com/tiancaiamao)
- Fix the incompatibility issue between the behavior of prepared plan cache and non-prepared plan cache during time conversion [#42439](https://github.com/pingcap/tidb/issues/42439) @[qw4990](https://github.com/qw4990)
- Fix the wrong results caused by plan cache for Decimal type [#43311](https://github.com/pingcap/tidb/issues/43311) @[qw4990](https://github.com/qw4990)
- Fix the TiDB panic issue in NAAJ due to wrong field type check [#42459](https://github.com/pingcap/tidb/issues/42459) @[AilinKid](https://github.com/AilinKid)
- Fix the TiDB panic issue in NAAJ due to the wrong field type check [#42459](https://github.com/pingcap/tidb/issues/42459) @[AilinKid](https://github.com/AilinKid)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- Fix the issue that DML execution failures in pessimistic transactions at the RC isolation level might cause inconsistency between data and indexes [#43294](https://github.com/pingcap/tidb/issues/43294) @[ekexium](https://github.com/ekexium)
- Fix the issue that in some extreme cases, retrying the first statement of a pessimistic transaction might affect transaction correctness when resolving locks on this transaction [#42937](https://github.com/pingcap/tidb/issues/42937) @[MyonKeminta](https://github.com/MyonKeminta)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- Fix the issue that in some rare cases, residual pessimistic locks of pessimistic transactions might affect data correctness when GC resolves locks [#43243](https://github.com/pingcap/tidb/issues/43243) @[MyonKeminta](https://github.com/MyonKeminta)
Expand All @@ -505,11 +508,11 @@ Compared with the previous LTS 6.5.0, 7.1.0 not only includes new features, impr
+ PD

<!-- **tw:Oreoxmt** (5) -->
- Fix the issue of abnormal number of low space stores in the PD monitoring panel after TiKV panic [#6252](https://github.com/tikv/pd/issues/6252) @[HuSharp](https://github.com/HuSharp)
- Fix the issue where Region stats monitoring data is deleted after PD leader switch [#6366](https://github.com/tikv/pd/issues/6366) @[iosmanthus](https://github.com/iosmanthus)
- Fix the issue where Rule checker cannot repair unhealthy Region with label `schedule=deny` [#6426](https://github.com/tikv/pd/issues/6426) @[nolouch](https://github.com/nolouch)
- Fix the issue where some existing labels are lost after TiKV/TiFlash restart [#6467](https://github.com/tikv/pd/issues/6467) @[JmPotato](https://github.com/JmPotato)
- Fix the issue where the state cannot be switched when there are learner nodes in the replication mode [#14704](https://github.com/tikv/tikv/issues/14704) @[nolouch](https://github.com/nolouch)
- Fix the issue that the number of `low space store` in the PD monitoring panel is abnormal after TiKV panics [#6252](https://github.com/tikv/pd/issues/6252) @[HuSharp](https://github.com/HuSharp)
- Fix the issue that Region Health monitoring data is deleted after PD leader switch [#6366](https://github.com/tikv/pd/issues/6366) @[iosmanthus](https://github.com/iosmanthus)
- Fix the issue that the rule checker cannot repair unhealthy Regions with the label `schedule=deny` [#6426](https://github.com/tikv/pd/issues/6426) @[nolouch](https://github.com/nolouch)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- Fix the issue that some existing labels are lost after TiKV or TiFlash restarts [#6467](https://github.com/tikv/pd/issues/6467) @[JmPotato](https://github.com/JmPotato)
- Fix the issue that the replication status cannot be switched when there are learner nodes in the replication mode [#14704](https://github.com/tikv/tikv/issues/14704) @[nolouch](https://github.com/nolouch)

+ TiFlash

Expand Down