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 6.1.1 release notes #10139

Merged
merged 51 commits into from
Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
a06cec9
releases: add TiDB 6.1.1 release notes
TomShawn Aug 24, 2022
33a4138
Update release-6.1.1.md
TomShawn Aug 24, 2022
937b10d
collect notes from comments
TomShawn Aug 29, 2022
69558ce
add some ticdc notes
TomShawn Aug 29, 2022
cbb5799
Update release-6.1.1.md
TomShawn Aug 29, 2022
70b28fe
Update release-6.1.1.md
TomShawn Aug 29, 2022
dccfeaf
update
TomShawn Aug 29, 2022
2fbed03
Update releases/release-6.1.1.md
TomShawn Aug 29, 2022
99585fb
Update release-6.1.1.md
TomShawn Aug 29, 2022
015665d
Update releases/release-6.1.1.md
TomShawn Aug 29, 2022
517bed2
replace some notes
TomShawn Aug 29, 2022
8c07255
Update releases/release-6.1.1.md
TomShawn Aug 29, 2022
9795d3f
fix issue link from @busyjay
Oreoxmt Aug 30, 2022
75a1b34
Apply suggestions from code review
shichun-0415 Aug 30, 2022
e5398dc
Apply suggestions from code review
hfxsd Aug 30, 2022
c720d15
Apply suggestions from code review
ran-huang Aug 30, 2022
431aafc
Update releases/release-6.1.1.md
ran-huang Aug 30, 2022
a25a6eb
update tikv/pd/sql-infra
Oreoxmt Aug 30, 2022
d7499df
before bug fix planner
TomShawn Aug 30, 2022
3c0f124
Apply suggestions from code review
shichun-0415 Aug 30, 2022
d018181
before sql infra bug fix
TomShawn Aug 30, 2022
5f1eaff
Merge branch '6.1.1-release' of https://github.com/TomShawn/docs into…
TomShawn Aug 30, 2022
897d2a2
finish for tidb
TomShawn Aug 30, 2022
f3f0bc3
reorder tools notes
TomShawn Aug 30, 2022
f59abd9
Apply suggestions from code review
Oreoxmt Aug 30, 2022
c4bd39a
Apply suggestions from code review
hfxsd Aug 30, 2022
7ab29cb
Apply suggestions from code review
ran-huang Aug 30, 2022
cae61e7
Apply suggestions from code review
Oreoxmt Aug 31, 2022
2f88789
Apply suggestions from code review
Oreoxmt Aug 31, 2022
63632f1
Apply suggestions from code review
Oreoxmt Aug 31, 2022
39e8726
Apply suggestions from code review
TomShawn Aug 31, 2022
3542233
Apply suggestions from code review
Oreoxmt Aug 31, 2022
69e9a4b
Apply suggestions from code review
shichun-0415 Aug 31, 2022
56fab9f
add id for improvement
TomShawn Aug 31, 2022
13b7754
Merge branch '6.1.1-release' of https://github.com/TomShawn/docs into…
TomShawn Aug 31, 2022
298109c
add more ids
TomShawn Aug 31, 2022
06bd2da
add more ids
TomShawn Aug 31, 2022
2ada6d2
remove dup
TomShawn Sep 1, 2022
5d7fb9f
Update releases/release-6.1.1.md
TomShawn Sep 1, 2022
c2acd89
add ids
TomShawn Sep 1, 2022
a7f2167
Update releases/release-6.1.1.md
TomShawn Sep 1, 2022
b2e83d1
Update releases/release-6.1.1.md
ran-huang Sep 1, 2022
a8995b5
Apply suggestions from code review
TomShawn Sep 1, 2022
6db0ad4
Apply suggestions from code review
shichun-0415 Sep 1, 2022
7f1f978
Apply suggestions from code review
shichun-0415 Sep 1, 2022
5e66b61
Update release-6.1.1.md
TomShawn Sep 1, 2022
7cede90
Update releases/release-6.1.1.md
TomShawn Sep 1, 2022
2d227ec
Update releases/release-6.1.1.md
TomShawn Sep 1, 2022
78fcf66
Merge remote-tracking branch 'upstream/master' into 6.1.1-release
TomShawn Sep 1, 2022
f15de7f
Update releases/release-6.1.1.md
TomShawn Sep 1, 2022
228394c
Update releases/release-6.1.1.md
TomShawn Sep 1, 2022
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
1 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@
- v6.2
- [6.2.0-DMR](/releases/release-6.2.0.md)
- v6.1
- [6.1.1](/releases/release-6.1.1.md)
- [6.1.0](/releases/release-6.1.0.md)
- v6.0
- [6.0.0-DMR](/releases/release-6.0.0-dmr.md)
Expand Down
121 changes: 121 additions & 0 deletions releases/release-6.1.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
---
title: TiDB 6.1.1 Release Notes
---

# TiDB 6.1.1 Release Notes

Release date: 2022-xx-xx
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

TiDB version: 6.1.1

## Compatibility changes

+ TiDB

(dup: release-6.2.0.md > Bug fixes> TiDB)- Fix the issue that `SHOW DATABASES LIKE …` is case-sensitive [#34766](https://github.com/pingcap/tidb/issues/34766)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
## Improvements

+ TiDB

<!-- <planner> -->
(dup: release-6.2.0.md > # Performance)[User document](/optimizer-hints.md#semi_join_rewrite) [#35323](https://github.com/pingcap/tidb/issues/35323)
(dup: release-5.2.4.md > Bug fixes> TiDB)- Fix the issue that partitioned tables cannot fully use indexes to scan data in some cases [#33966](https://github.com/pingcap/tidb/issues/33966)

<!-- <transaction> -->
(dup: release-6.2.0.md > Bug fixes> TiDB)- Avoid sending requests to unhealthy TiKV nodes to improve availability [#34906](https://github.com/pingcap/tidb/issues/34906)

+ TiKV

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- In the new backup organization structure, we will see: `./br backup --pd "127.0.0.1:2379" -s "s3://backup/20220621" - After br command finished, we will have the structure below. ➜ backup tree . . └── 20220621 ├── backupmeta ├── store1 │ └── backup-xxx.sst ├── store100 │ └── backup-yyy.sst ├── store2 │ └── backup-zzz.sst ├── store3 ├── store4 └── store5` [#13063](https://github.com/tikv/tikv/issues/13063)
(dup: release-6.2.0.md > Improvements> TiKV)- Support compressing the metrics response using gzip to reduce the HTTP body size [#12355](https://github.com/tikv/tikv/issues/12355)

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
## Bug fixes

+ TiDB

<!-- <execution> -->
- executor: fix index_lookup_hash_join hang when used with limit [#35638](https://github.com/pingcap/tidb/issues/35638)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the issue that IndexLookupHashJoin may hangs when used with limit #35638
Fix the issue that TiDB may panic during update stmt #32311
Fix the bug that show columns may send cop request #36496
Fix bug that show warnings may return invalid memory address or nil pointer dereference error #31569
Fix the case sensitive issues for show database like statement #34766
Fix bug that static partition prune may return wrong result for agg query if the table is empty #35295


<!-- <planner> -->
- planner: fix outer join reorder will push down its outer join condition [#37238](https://github.com/pingcap/tidb/issues/37238)
- planner: fix cte-schema-clone will clone the old hashcode of its column if any [#35404](https://github.com/pingcap/tidb/issues/35404)
Copy link

@chrysan chrysan Aug 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix outer join reorder will push down its outer join condition wrongly #37238
Fix that cte-schema hashcode is cloned wrongly when cte is referenced more than once #35404
Fix the wrong join reorder produced by some right outer join #36912
Fix the wrong nullable value infered for firstrow agg function with EqualAll #34584
Fix that plan cache cannot work when there's a binding with ignore_plan_cache hint #34596
Fix the missing exchange between hash-partition window and single-partition window #35990
Fix that some predicates are wrongly removed after partition pruning #33966
Fix the wrong default value set for partial aggregation when aggregation is pushed-down #35295

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrysan I think we don't need the 'component name' in the release note(they're useful for developers only), for example:

planner: fix the wrong join reorder produced by some right ouer join #36912

Could be simplified as:

Fix the wrong join reorder produced by some right ouer join #36912

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx, updated.


<!-- <sql-infra> -->
(dup: release-6.2.0.md > Bug fixes> TiDB)- Fix the issue that querying partitioned tables might report "index-out-of-range" and "non used index" errors in some cases [#35181](https://github.com/pingcap/tidb/issues/35181)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- ddl: fix alter sequence will generate schemaVer=0 when alter options are the same as the old [#36276](https://github.com/pingcap/tidb/issues/36276)
- Fix that incorrect TiDB states may appear on startup under very, very, very extreme cases [#36791](https://github.com/pingcap/tidb/issues/36791)
- Fix the "UnknownPlanID" issue. [#35153](https://github.com/pingcap/tidb/issues/35153)

<!-- <transaction> -->
(dup: release-6.2.0.md > Bug fixes> TiDB)- Fix the issue that the column list does not work in the LOAD DATA statement [#35198](https://github.com/pingcap/tidb/issues/35198) @[SpadeA-Tang](https://github.com/SpadeA-Tang)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-5.3.2.md > Bug Fixes> TiDB)- Fix the issue of the `data and columnID count not match` error that occurs when inserting duplicated values with TiDB Binlog enabled [#33608](https://github.com/pingcap/tidb/issues/33608)

+ TiKV

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Fix a bug that regions may be overlapped if raftstore is too busy [#13160](https://github.com/tikv/tikv/issues/13160)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Fix a bug that regions may be overlapped if raftstore is too busy [#13160](https://github.com/tikv/tikv/issues/13160)
- Fix a bug that Regions might be overlapped if raftstore is too busy [#13160](https://github.com/tikv/tikv/issues/13160)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

region -> Region

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-6.2.0.md > Bug fixes> TiKV)- Fix the issue that PD does not reconnect to TiKV after the Region heartbeat is interrupted [#12934](https://github.com/tikv/tikv/issues/12934)
- remove call_option to avoid deadlock(RWR). [#13191](https://github.com/tikv/tikv/issues/13191)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- remove call_option to avoid deadlock(RWR). [#13191](https://github.com/tikv/tikv/issues/13191)

(dup: release-5.3.2.md > Bug Fixes> TiKV)- Fix the issue that TiKV panics when performing type conversion for an empty string [#12673](https://github.com/tikv/tikv/issues/12673)
(dup: release-6.2.0.md > Bug fixes> TiKV)- Fix the issue of inconsistent Region size configuration between TiKV and PD [#12518](https://github.com/tikv/tikv/issues/12518)
(dup: release-6.2.0.md > Bug fixes> TiKV)- Fix the issue that encryption keys are not cleaned up when Raft Engine is enabled [#12890](https://github.com/tikv/tikv/issues/12890)
(dup: release-6.2.0.md > Bug fixes> TiKV)- Fix the panic issue that might occur when a peer is being split and destroyed at the same time [#12825](https://github.com/tikv/tikv/issues/12825)
- Fix potential deadlock in `RpcClient` when two read locks are interleaved by a write lock. [#12933](https://github.com/tikv/tikv/issues/12933)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Fix potential deadlock in `RpcClient` when two read locks are interleaved by a write lock. [#12933](https://github.com/tikv/tikv/issues/12933)

(dup: release-6.2.0.md > Bug fixes> TiKV)- Fix the panic issue that might occur when the source peer catches up logs by snapshot in the Region merge process [#12663](https://github.com/tikv/tikv/issues/12663)
(dup: release-5.3.2.md > Bug Fixes> TiKV)- Fix the issue of frequent PD client reconnection that occurs when the PD client meets an error [#12345](https://github.com/tikv/tikv/issues/12345)
- Fix encryption keys not cleaned up when Raft Engine is enabled [#13123](https://github.com/tikv/tikv/issues/13123)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-6.2.0.md > Bug fixes> TiKV)- Fix the issue that the Commit Log Duration of a new Region is too high, which causes QPS to drop [#13077](https://github.com/tikv/tikv/issues/13077)
(dup: release-6.2.0.md > Improvements> TiKV)- Support dynamically modifying the number of sub-compaction operations performed concurrently in RocksDB (`rocksdb.max-sub-compactions`) [#13145](https://github.com/tikv/tikv/issues/13145)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(dup: release-6.2.0.md > Improvements> TiKV)- Support dynamically modifying the number of sub-compaction operations performed concurrently in RocksDB (`rocksdb.max-sub-compactions`) [#13145](https://github.com/tikv/tikv/issues/13145)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's moved to improvement.


+ PD

- Fix the issue that the online process is not accurate when having invalid label settings. [#5234](https://github.com/tikv/pd/issues/5234)
- grpc: fix the wrong error handler [#5373](https://github.com/tikv/pd/issues/5373)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fix the issue that the online process is not accurate when having invalid label settings. #5234
  • Fix the problem that grpc handles return errors inappropriately #5373
  • Fix the issue that /regions/replicated may return the wrong status #5095

- Fix the issue that `/regions/replicated` may return the wrong status [#5095](https://github.com/tikv/pd/issues/5095)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

+ TiFlash

(dup: release-5.4.2.md > Bug Fixes> TiFlash)- Fix the issue that TiFlash crashes after dropping a column of a table with clustered indexes in some situations [#5154](https://github.com/pingcap/tiflash/issues/5154)
- Fix the issue that format throw data truncated error [#4891](https://github.com/pingcap/tiflash/issues/4891)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- fix the problem that there may be some obsolete data left in storage which cannot be deleted [#5659](https://github.com/pingcap/tiflash/issues/5659)
- Reduce unnecessary CPU usage in some edge cases [#5409](https://github.com/pingcap/tiflash/issues/5409)
- Fix a bug that TiFlash can not work in a cluster using ipv6 [#5247](https://github.com/pingcap/tiflash/issues/5247)
- Fix a panic issue in parallel aggregation when an exception is thrown. [#5356](https://github.com/pingcap/tiflash/issues/5356)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved

+ Tools

+ TiCDC

- Fix the wrong maximum compatible version number [#6039](https://github.com/pingcap/tiflow/issues/6039)
- Fix a bug that may cause cdc server panic if it received a http request before cdc server fully started. [#5639](https://github.com/pingcap/tiflow/issues/5639)
- Fix ddl sink panic when changefeed syncpoint is enable. [#4934](https://github.com/pingcap/tiflow/issues/4934)
- Fix a data race in black hole sink. [#5714](https://github.com/pingcap/tiflow/issues/5714)
- Fix a bug that causes get changefeeds api does not well after cdc server restart. [#5837](https://github.com/pingcap/tiflow/issues/5837)
- Fix a data race in black hole sink. [#6206](https://github.com/pingcap/tiflow/issues/6206)
- Fix TiCDC panic issue when disable the old value of changefeed [#6198](https://github.com/pingcap/tiflow/issues/6198)

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
+ Backup & Restore (BR)

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-5.4.2.md > Bug Fixes> Tools> Backup & Restore (BR))- Fix a bug that BR reports `ErrRestoreTableIDMismatch` in RawKV mode [#35279](https://github.com/pingcap/tidb/issues/35279)

+ Dumpling

- use net.JoinHostPort to generate host-port part of URI [#36112](https://github.com/pingcap/tidb/issues/36112)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like an improvement, instead of a bug fix.

shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved

+ TiDB Lightning

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- support column starts with slash/number/non-ascii for parquet file [#36980](https://github.com/pingcap/tidb/issues/36980)
- fix connect to tidb when using ipv6 host [#35880](https://github.com/pingcap/tidb/issues/35880)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

+ TiDB Binlog

- [#1152](https://github.com/pingcap/tidb-binlog/issues/1152)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved

+ TiDB Data Migration
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
+ TiDB Data Migration
+ TiDB Data Migration (DM)


- Fix a bug that start DM-worker and `kill` it immediately will not let process stop. [#5836](https://github.com/pingcap/tiflow/issues/5836)
- use `net.JoinHostPort` to generate host-port part of URI to support ipv6 address. [#6249](https://github.com/pingcap/tiflow/issues/6249)
- Fix the problem that TiCDC cannot correctly recognize the ipv6 address in SinkURI [#6135](https://github.com/pingcap/tiflow/issues/6135)
- Fix a bug that relay goroutine and upstream connections may leak when relay meet error [#6193](https://github.com/pingcap/tiflow/issues/6193)
- Fix the issue of the possible data race that might occur when multiple functions are executing concurrently, some calling Result() and writing into some variables that other functions are trying to read. #4811 [#4811](https://github.com/pingcap/tiflow/issues/4811)
- `fix a bug that get tables without using quote schema name`. [#5895](https://github.com/pingcap/tiflow/issues/5895)
1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ aliases: ['/docs/dev/releases/release-notes/','/docs/dev/releases/rn/']

## 6.1

- [6.1.1](/releases/release-6.1.1.md)
- [6.1.0](/releases/release-6.1.0.md)

## 6.0
Expand Down
1 change: 1 addition & 0 deletions releases/release-timeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This document shows all the released TiDB versions in reverse chronological orde

| Version | Release Date |
| :--- | :--- |
| [6.1.1](/releases/release-6.1.1.md) | 2022-xx-xx |
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
| [6.2.0-DMR](/releases/release-6.2.0.md) | 2022-08-23 |
| [5.4.2](/releases/release-5.4.2.md) | 2022-07-08 |
| [5.3.2](/releases/release-5.3.2.md) | 2022-06-29 |
Expand Down