MatrixOne-v1.2.2
Release date: July 12, 2024
MatrixOne version: v1.2.2
Compared with the previous v1.2.1, v1.2.2 doesn't introduce new features but only focuses on bug fixes and minor optimizations.
Improvements
- Support
GROUP BY 1
,MAKEDATE
- Add runtime metrics
- Support reload auto increment cache
- Allow loading file info asynchronously for the disk cache
- Optimize flush and merge
Bugfix
Fixed bugs related to partition state, proxy, MySQL compatibility, lockservice, stats, and merge memory control. Check the What's Changed section for details.
What's Changed
- [fix] remove unnecessary values from the second parameter of prefix_in (cp #17111 to 1.2) by @aunjgr in #17186
- Add CoreDump when CachedData is nil by @LeftHandCold in #17219
- memorycache: do not allow nil Data by @reusee in #17222
- [bug] proxy: fix the connection id when send request to cn server. by @volgariver6 in #17228
- fix unlock fatal when tn restart by @iamlinjunhong in #17237
- fix always return illegal state error on special connection to 1.2 by @zhangxu19830126 in #17251
- cherry-pick stats related fix into 1.2-dev by @badboynt1 in #17260
- cp 17265 into 1.2-dev by @badboynt1 in #17268
- support last_day and makedate (#1.2-dev) by @YANGGMM in #17277
- add debug info for remap error by @daviszhen in #17256
- cherry-pick: remove compilectx by @daviszhen in #17257
- fix show create External table-1.2-dev by @qingxinhome in #17172
- Fix show columns compatibility issues1.2 dev by @qingxinhome in #17199
- fix bvt test(#1.2-dev) by @YANGGMM in #17284
- cherry-pick to 1.2-dev 'fix a bug that cause wrong parallelism for tpch' by @badboynt1 in #17297
- cherry-pick runtime metrics changes by @reusee in #17272
- Fix set global var do not work cross cns by @ck89119 in #17273
- Cherry-pick-fix-bugs[Dup/WW/Data-corruption] by @triump2020 in #17312
- When DDL statement has been executed within a transaction, force the use of a single CN by @ouyuanning in #17282
- fix dual by @daviszhen in #17279
- cherry-pick to 1.2-dev 'fix a bug that cause tpch performance regression ' by @badboynt1 in #17315
- retry lock when cn down by @iamlinjunhong in #17320
- Cherry pick- fix-snapshot-read-bug[txn is stale: timestamp is too small] (#17271) by @triump2020 in #17306
- fix data race when get deltaloc on 1.2-dev by @w-zr in #17319
- Merge delta loc 1.2 dev by @w-zr in #17328
- fix enum type op in one transaction (#1.2-dev) by @YANGGMM in #17285
- [pick to 1.2] fix a bug that process's cancel not match to its context by @m-schen in #17349
- Fix Location's Extend is 0 when call UpdateTableStats for 1.2 by @LeftHandCold in #17346
- fix makedate and lastday func(#1.2-dev) by @YANGGMM in #17343
- fileservice: use wrapped standard retryer in AWS sdk (#17250) by @reusee in #17267
- update delete by deltaloc by @jiangxinmeng1 in #17246
- [enhancement] stats: reduce the parallel goroutines to update stats by @volgariver6 in #17342
- [bug] stats: fix hang issue by @volgariver6 in #17364
- fix cannot restart lockservice by @iamlinjunhong in #17371
- support reload auto increment cache to 1.2 by @zhangxu19830126 in #17369
- only create buffer when err is nil by @w-zr in #17373
- fileservice: allow loading file infos asynchronously in disk cache by @reusee in #17360
- Expansion 1.2.2 Upgrade Package by @qingxinhome in #17383
- cp to 1.2-dev "release unused memory in shuffleRange" by @badboynt1 in #17386
- add clean commit state log by @iamlinjunhong in #17390
- cp to 1.2-dev "don't calculate stats for limit 0 query" by @badboynt1 in #17400
- [enhancement] proxy: remove error logs caused by hearteabt of LB. by @volgariver6 in #17401
- [enhancement] stats: add factor to update worker number. by @volgariver6 in #17410
- [enhancement] stats: do not update the same key at the same time. by @volgariver6 in #17422
- fileservice: set finalizer on read closer to avoid potential leaks by @reusee in #17398
- fix change morpc backend state to 1.2 by @zhangxu19830126 in #17432
- metric: fix typo and register fsWriteCounter by @reusee in #17434
- cherry-pick some fileservice changes from main branch by @reusee in #17429
- using process memory usage for background task memory throttle 1.2 by @aptend in #17436
- [Cherry-pick] Alter table add column with lower_case_table_names = 0 by @ck89119 in #17407
- [plan] support "GROUP BY 1" (cp to 1.2) by @aunjgr in #17424
- 1.2 optimize flush and merge prints by @XuPeng-SH in #17437
- [fix] don't push LIMIT clause to index table if main table has filters by @aunjgr in #17446
- fix ut Test_saveQueryResultMeta panic by @CJKkkk-315 in #17450
- Fix GC MaxConsumed For Backup by @LeftHandCold in #17464
- remove an info-level log. by @m-schen in #17461
- The global checkpoint only collects the node of the last deltaLoc by @LeftHandCold in #17440
- Add bvt by @ck89119 in #17457
- Fix TestSnapshotMeta data race&failed for 1.2 by @LeftHandCold in #17460
- sort objects in ascending order by @w-zr in #17454
- Fix merge mem contro 1.2 by @aptend in #17479
- [enhancement] add concurrency when fetch objects of table by @volgariver6 in #17449
- fix makedate and last_day func (#1.2-dev) by @YANGGMM in #17473
Full Changelog: v1.2.1...v1.2.2