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

update proxy of release-8.1 to raftstore-proxy-8.1 #9408

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
6bd9e6b
Proxy: Reduce proxy's size by compressing some debug sections (#8915)
CalvinNeo Apr 9, 2024
da10aa6
Disagg: fix used size metrics of FileCache (#8921)
JinheLin Apr 9, 2024
adc57e2
tests: Add code coverage scripts (#8922)
JaySon-Huang Apr 10, 2024
8cec573
KVStore: Fix test of async tasks (#8928)
CalvinNeo Apr 10, 2024
df29f84
Add insertMany interface for IColumn (#8925)
Lloyd-Pottiger Apr 11, 2024
94f15d1
*: Keep clang13 (#8930)
JaySon-Huang Apr 11, 2024
08c3ea1
Storages: log region applied status when write (#8932)
JinheLin Apr 11, 2024
0b0cc45
catch exception of LocalAdmissionController::stop() (#8942)
guo-shaoge Apr 12, 2024
1df6e16
*: Fix compile error (#8944)
JaySon-Huang Apr 15, 2024
73f37f6
build: Suppress warnings (#8948)
Lloyd-Pottiger Apr 15, 2024
91c5892
fix GeneratedColumnPlaceHolderTransformAction header (#8951)
guo-shaoge Apr 17, 2024
8a09075
tests: add tests for timestamp with timezone (#8950)
Lloyd-Pottiger Apr 17, 2024
14a1278
Fix AsyncTasks cancel deadlock (#8953)
CalvinNeo Apr 17, 2024
bdbc345
Support Delta/RLE encoding and multiple compression (#8820)
Lloyd-Pottiger Apr 17, 2024
d145b00
ddl: Fix logging cause by non-dropped table (#8955)
JaySon-Huang Apr 18, 2024
b454a90
*: fix release build when enable PCH (#8959)
Lloyd-Pottiger Apr 18, 2024
5cba983
*: introduce not_null as a submodule (#8802)
CalvinNeo Apr 18, 2024
4da9e96
Storages: Refine log (#8963)
JinheLin Apr 18, 2024
9f6f61a
Storages: Change CompressionCodecPtr from shared_ptr to unique_ptr (#…
JinheLin Apr 19, 2024
536390a
*: some streams do not need to inherit IProfilingBlockInputStream (#8…
Lloyd-Pottiger Apr 19, 2024
c32c428
*: Refine the code in settings (#8970)
JaySon-Huang Apr 19, 2024
2c0db29
Storages: Remove some `DBMS_PUBLIC_GTEST` hacks (#8971)
JinheLin Apr 20, 2024
4412105
tests: Fix unstable schema test (#8972)
JaySon-Huang Apr 22, 2024
a3e48e4
Storage: Refine logging about reading snap, place index, index to wai…
JaySon-Huang Apr 22, 2024
3cd21c0
KVStore: Add some log for Learner Read (#8979)
CalvinNeo Apr 23, 2024
71faa8d
Common: support bitpacking (#8969)
Lloyd-Pottiger Apr 25, 2024
f1ac329
Pipeline: fix the missing `task_ptr->profile_info.elapsedAwaitTime();…
SeaRise Apr 25, 2024
a239275
Parallelize the converting hash table to two level process after fini…
gengliqi Apr 25, 2024
b77839b
KVStore: Fix exception in FAP worker (#8989)
CalvinNeo Apr 25, 2024
89d1d73
KVStore: Log when meets any commit_ts < observed max_read_tso (#8991)
CalvinNeo Apr 25, 2024
4e6228b
tests: Fix unstable test alter_pk (#8917)
JaySon-Huang Apr 26, 2024
392dc71
tests: Remove `DBMS_PUBLIC_GTEST` hack in SegmentReadTask (#8994)
JinheLin Apr 26, 2024
3770103
Storages: Use template to replace macro in RSOperator (#8997)
JinheLin Apr 26, 2024
98e4a7c
Storage: Refactor DMFileReader (#8927)
Lloyd-Pottiger Apr 26, 2024
15dc82a
*: Add http docs for TiFlash (#8943)
JaySon-Huang Apr 28, 2024
8e17009
Storages: Fix cloning delta index when there are duplicated tuples (#…
JinheLin Apr 30, 2024
8e50de8
tests: remove a fake test (#9021)
Lloyd-Pottiger May 6, 2024
6129d97
Pipeline: refactor the extra time calculation in explain analyze (#8987)
SeaRise May 8, 2024
db0bfc9
Add agg final spill event if have spill data (#9023)
gengliqi May 8, 2024
2251037
Compression: support FOR & replace Delta with DeltaFOR (#8983)
Lloyd-Pottiger May 8, 2024
bddd270
Storages: Refine SegmentReadTaskScheduler::add to reduce lock content…
JinheLin May 10, 2024
22417fd
KVStore: Expand the usage of thread-wise alloc/dealloc trace (#9003)
CalvinNeo May 10, 2024
1e508e9
Storages: Fix max_dup_tuple_id in DeltaTree::swap (#9031)
JinheLin May 10, 2024
a0c8707
Compression: refine unit tests (#9035)
Lloyd-Pottiger May 11, 2024
2378444
metrics: Add Vector Search panel (#9033)
breezewish May 11, 2024
de9f362
*: Fix allocateptr call from Proxy (#9037)
CalvinNeo May 14, 2024
d1d990f
*: Fix too long thread name make TSAN failed to run (#9044)
JaySon-Huang May 15, 2024
961f9dd
Storage: Fix page_id being mis-reuse when upgrade from cluster < 6.5 …
JaySon-Huang May 15, 2024
ca030a3
*: Use static to avoid thread-wise memtrace lifetime problem (#9059)
CalvinNeo May 17, 2024
d33545d
Storage: let stable meta using protobuf format (#9054)
Lloyd-Pottiger May 17, 2024
242f2d9
Pipeline: use `notify` instead of `polling` for `SharedQueue` (#8875)
SeaRise May 20, 2024
3ebb102
Storage: Separate DMFile (#9042)
Lloyd-Pottiger May 21, 2024
66a88e2
Storages: Trace memory allocation by thread (#9064)
CalvinNeo May 22, 2024
bab33aa
security: Do not let grpc reload ssh cert if not changed (#9068)
windtalker May 22, 2024
071dec3
GitHub: Add marker in PR template to be recognized by bot to put into…
zanmato1984 May 23, 2024
e6f88ef
chore: Test commit message (#9076)
zanmato1984 May 23, 2024
ce908c1
chore: Revert "chore: Test commit message (#9076)" (#9077)
zanmato1984 May 23, 2024
fa919ae
*: Fix USE_JEMALLOC macro (#9083)
CalvinNeo May 24, 2024
552becc
KVStore: Distinguish different versions of Proxy (#9078)
CalvinNeo May 24, 2024
7cb240c
*: fix tipb::ColumnInfo to TiDB::ColumnInfo (#9086)
Lloyd-Pottiger May 27, 2024
a4fe694
Remove the redundant copy of join key column (#9058)
gengliqi May 27, 2024
7fd8d05
tests: Disable some tests when jemalloc is not enabled (#9093)
JaySon-Huang May 27, 2024
38ab3f9
*: fix Exception (#9094)
Lloyd-Pottiger May 28, 2024
f6518f1
tests: Fix MPPTask-Moniter may live longer than TiFlashMetrics (#9096)
JaySon-Huang May 28, 2024
7a40732
chore: strengthen configuration change approval (#8967)
wuhuizuo May 29, 2024
7c7b878
Optimize unnecessary column copy for HashAgg (#8985)
guo-shaoge May 29, 2024
29e0ef0
*: fix bench_dbms build (#9099)
Lloyd-Pottiger May 29, 2024
9e1a79f
*: Fix compile error under macos (#9102)
JaySon-Huang May 30, 2024
52f47a9
Pipeline: refine directory for pipeline (#9100)
SeaRise May 30, 2024
640f856
FAP: Add some logs (#9095)
CalvinNeo May 31, 2024
9929b19
*: Use prefix tiflash_ for thread-wise memory alloc info (#9114)
CalvinNeo Jun 3, 2024
8cf71e7
.*: Remove `DAGQueryBlock` (#9105)
SeaRise Jun 4, 2024
60a7e70
Storages: Fix read ranges of FastScan (#9119)
JinheLin Jun 5, 2024
115ed4f
Pipeline: use notify instead of polling for `ResultQueue` (#9065)
SeaRise Jun 6, 2024
73929ad
Storages: Splitting DMFileReaderPool to reduce lock contention (#9126)
JinheLin Jun 7, 2024
cbac09d
KVStore: More metrics for Prehandling (#9131)
CalvinNeo Jun 7, 2024
7d7622e
expression: fix substring_index crash tiflash in some case (#9137)
wshwsh12 Jun 11, 2024
2fa02c2
*: Simplify nesting if..else code (#9138)
JaySon-Huang Jun 12, 2024
c1f8bca
Storages: Track memory for PageDirectory (#9134)
CalvinNeo Jun 13, 2024
d399917
Storages: Refine build filters in StorageDeltaMerge (#9104)
JinheLin Jun 13, 2024
380a5f3
Storages: Change the element type of `use_pack` from `bool` to `RSRes…
JinheLin Jun 13, 2024
c0ce779
update proxy of master to upgrade-near-8.2 (#9148)
CalvinNeo Jun 15, 2024
001a25c
*: Refine logging for rough set filter (#9149)
JaySon-Huang Jun 17, 2024
c783e54
Storages: Add comments to MinMaxIndex (#9150)
JinheLin Jun 17, 2024
649cd26
security: Add "marker" mode for log densensitation (#9136)
JaySon-Huang Jun 18, 2024
86e89f7
Storages: Refine MinMaxIndex (#9151)
JinheLin Jun 18, 2024
7e70abd
Storages: MinMaxIndex::checkIsNull returns RSResult::All if a pack on…
JinheLin Jun 19, 2024
9d823e3
update proxy of master to raftstore-proxy (#9157)
CalvinNeo Jun 20, 2024
06a50ea
KVStore: Enhance Parallel Prehandle (#9155)
CalvinNeo Jun 21, 2024
393836a
KVStore: Add comments and refine logging about WaitCheckRegionReady (…
JaySon-Huang Jun 24, 2024
b03d747
KVStore: More log for Parallel Prehandle (#9160)
CalvinNeo Jun 25, 2024
06427c4
Upgrade toolchain to LLVM17 & Support C++23 (#8899)
Lloyd-Pottiger Jun 25, 2024
fbcb42e
Format: insert Newline at EOF using clang-format-17 (#8929)
Lloyd-Pottiger Jun 25, 2024
8a53e36
*: update minimum cmake version to 3.23 (#9164)
Lloyd-Pottiger Jun 27, 2024
ecdea74
Storages: Fix memory trace for UniversalPageId (#9163)
CalvinNeo Jun 27, 2024
f6071b3
clang-tidy: ignore unknown pragmas warnings (#9166)
JinheLin Jun 27, 2024
29395e7
Add debug log info to locate random fmt exception (#9171)
yibin87 Jun 28, 2024
3adcf7d
KVStore: Add metrics for AddLock failure (#9170)
CalvinNeo Jun 28, 2024
20d4616
KVStore: Get addressed engine-addr from proxy (#9174)
CalvinNeo Jul 3, 2024
567bcb1
Storages: Fix returned column types may not match in late-materializa…
JinheLin Jul 3, 2024
82d20fe
build: fix docker image misc script (#9178)
wuhuizuo Jul 3, 2024
cc1bf74
KVStore: Refine parallel prehandle snapshot (part-1) (#9192)
JaySon-Huang Jul 5, 2024
ce637fe
Change sleep time for sanitizer build type of gtest_compute_server (#…
yibin87 Jul 8, 2024
1ad8a21
Support Adaptive Lightweight Compression Algorithm (#8903)
Lloyd-Pottiger Jul 8, 2024
38a8d87
fix fmt error (#9199)
windtalker Jul 9, 2024
cd2d7e6
Adjust sanitizer sleep time for cancelMPPGather (#9200)
yibin87 Jul 9, 2024
e6fc04a
Storages: Fix obtaining incorrect column information when there are v…
JinheLin Jul 9, 2024
21d899c
*: fix bench_dbms build (#9210)
Lloyd-Pottiger Jul 9, 2024
42f9c30
*: Add binaryDir to CMakePresets.json (#9205)
Lloyd-Pottiger Jul 9, 2024
914aaf7
*: reduce virtual function call in ColumnNullable::size() (#9209)
Lloyd-Pottiger Jul 10, 2024
93d7c81
tests: Add ut for parsing lock value (#9214)
JaySon-Huang Jul 11, 2024
02b61ea
ddl: Fix rename partitioned table is not atomic (#9133)
JaySon-Huang Jul 12, 2024
81034bf
tests: Refine the README of running test cases (#9211)
JaySon-Huang Jul 12, 2024
d3bd50c
Update components for txn file in serverless (#9224)
CalvinNeo Jul 12, 2024
bf69caf
update proxy of master to raftstore-proxy (#9236)
CalvinNeo Jul 16, 2024
1ee7da7
*: Introduce MutexProtected and SharedMutexProtected (#9115)
Lloyd-Pottiger Jul 16, 2024
951e010
security: Allow empty security config for disabling tls (#9234)
JaySon-Huang Jul 16, 2024
9de3fdc
support selective block for MPPExchangeWriter (#9195)
guo-shaoge Jul 19, 2024
9073df5
Accumulated updates for heap profiling (#9240)
CalvinNeo Jul 19, 2024
1a0a7e1
*: update client-c to locate issue (#9244)
Lloyd-Pottiger Jul 22, 2024
4049a8c
ddl: Atomic rename `DeltaMergeStore::db_name` in memory (#9246)
JaySon-Huang Jul 23, 2024
335522f
*: update client-c to fix request pd leader timeout after any pd disc…
Lloyd-Pottiger Jul 24, 2024
a4f0ec6
Storages: Fix statistical data of DMFilePackFilter (#9254)
JinheLin Jul 25, 2024
1b318a7
KVStore: Fallback elegantly when getting table error in FAP (#9253)
CalvinNeo Jul 26, 2024
334d9b9
tests: Limit the segments to be merged under tsan to suppress deadloc…
JaySon-Huang Jul 29, 2024
954f147
Storages: Add Block pop-up latency metrics (#9260)
JinheLin Jul 29, 2024
1107e30
*: Support generating adhoc heap profiling in svg format (#9273)
CalvinNeo Jul 31, 2024
45eb507
ddl: Fix rename come after database has been dropped (#9274)
JaySon-Huang Aug 1, 2024
dc20fe9
PageStorage: Fix empty page cause TiFlash failed to start (#9283)
JaySon-Huang Aug 5, 2024
16fb1d9
Compression: add microbenchmark (#9293)
Lloyd-Pottiger Aug 7, 2024
1289b43
auto pass through hashagg (#9167)
guo-shaoge Aug 7, 2024
7b17f5b
Fix the wrong result bug when casting string as datetime with time zo…
solotzg Aug 9, 2024
0861ee6
fix cast to decimal wrong sign (#9300)
guo-shaoge Aug 9, 2024
f7a619d
build: Fix build on arm64, bump contrib/tiflash-proxy from `bb6ebf6` …
dependabot[bot] Aug 9, 2024
aac1dae
fix mac build (#9305)
guo-shaoge Aug 9, 2024
558f359
update proxy of master to raftstore-proxy (#9308)
CalvinNeo Aug 12, 2024
845adad
tests: Fix unstable unit-tests (#9310)
JinheLin Aug 12, 2024
5e9e6c2
Compression: optimize the CompressionCodecFactory (#9299)
Lloyd-Pottiger Aug 12, 2024
1e5474b
UniPS: Provide more information when meets exception in updateLocalCa…
CalvinNeo Aug 12, 2024
c485c37
add design doc for auto pass through hashagg (#9295)
guo-shaoge Aug 12, 2024
c6fcddf
Disagg: Fix the issue that lifetime of read-snapshots in WN may be lo…
JinheLin Aug 13, 2024
b4e8599
Storages: Add whether has null in the result of MinMaxIndex (#9288)
JinheLin Aug 13, 2024
9d130eb
*: add workflow in CMakePresets (#9304)
Lloyd-Pottiger Aug 13, 2024
76b7f36
Compression: fix zstd compression level be negative number (#9323)
Lloyd-Pottiger Aug 14, 2024
7d5f4ce
PageStorage: Fix TiFlash may fail to restart after FAP is enabled (#9…
JaySon-Huang Aug 15, 2024
14ed7c0
*: Update the description of MacOS build (#9326)
JaySon-Huang Aug 15, 2024
4817c7d
build: make `cmake --install` work well (#9333)
JaySon-Huang Aug 20, 2024
5500b35
KVStore: Fix spurious region overlap when two region are both applyin…
CalvinNeo Aug 20, 2024
cf5a204
*: Refine include of TiDB.h to speedup re-compiling (#9338)
JaySon-Huang Aug 21, 2024
0d0463a
*: Vector Data types and Functions (#9341)
JaySon-Huang Aug 21, 2024
e139b95
ddl: Remove field "comment" from TiDB::TableInfo (#9339)
JaySon-Huang Aug 22, 2024
5a2f6c9
Storage: let segment meta using protobuf format (#9328)
Lloyd-Pottiger Aug 22, 2024
d68865a
Compression: fix lz4/lz4hc/zstd map concurrent insert (#9342)
Lloyd-Pottiger Aug 22, 2024
fe07443
Disagg: Reduce the number of threads created for handling disaggrega…
JinheLin Aug 22, 2024
2652edb
Storages: Skip filter if all data match in Min-Max index (#9318)
JinheLin Aug 22, 2024
f0a4087
KVStore: Refine parallel prehandle snapshot (part-2) (#9193)
JaySon-Huang Aug 26, 2024
55cb9b9
Storages: Skip filtering for filter column (#9361)
JinheLin Aug 26, 2024
bfb8c5d
libcommon: Provide RSS details metrics (#9218)
EricZequan Aug 26, 2024
f7e0a01
Storage: support restore segments from checkpoint with format version…
Lloyd-Pottiger Aug 26, 2024
81cd947
build: bump contrib/tiflash-proxy from `4ebe44d` to `f2e5fb8` (#9363)
dependabot[bot] Aug 26, 2024
d113404
storage: Add keyspace_id to DT system tables (#9371)
Lloyd-Pottiger Aug 27, 2024
d94b18a
storage: Fix TiFlash system tables cannot query in Keyspace Mode (#9370)
Lloyd-Pottiger Aug 27, 2024
6664c0e
Storages: Fix comparing null in MinMaxIndex (#9373)
JinheLin Aug 27, 2024
9afd0b2
build: Fix duplicate symbol error of string.h (#9366)
CalvinNeo Aug 27, 2024
975c3e0
tests: update the number of read threads in unittest (#9381)
JinheLin Aug 28, 2024
0772e36
Disagg: Wait tasks in thread pool finished before return (#9382)
JinheLin Aug 28, 2024
637501a
Pipeline: use notify instead of polling for `AggregateRestoreSourceOp…
SeaRise Aug 28, 2024
4cc2c02
storage: refine DeltaMergeStore (#9380)
Lloyd-Pottiger Aug 29, 2024
20baf5e
unittest: Fix ASAN reports of SkippableBlockInputStreamTest (#9386)
JinheLin Aug 29, 2024
897a9da
tests: Refine the README of running integration tests (#9390)
Lloyd-Pottiger Aug 30, 2024
0a80ae0
Pipeline: use notify instead of polling for `ExchangeSender` (#9072)
SeaRise Sep 2, 2024
738aade
Disagg: Set the waiting time for thread pool. (#9393)
JinheLin Sep 2, 2024
0761d45
Disagg: Add nullptr check on `S3LockLocalManager` (#9387)
CalvinNeo Sep 2, 2024
b30c1f5
Improve the performance of `length` and `ascii` functions (#9345)
xzhangxian1008 Sep 3, 2024
d54afa5
update tiflash proxy to proxy_up/raftstore-proxy-8.1
CalvinNeo Sep 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 25 additions & 23 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
BasedOnStyle: Google
Language: Cpp
BasedOnStyle: Google
Language: Cpp
AlignAfterOpenBracket: AlwaysBreak
AlignEscapedNewlines: Left
AlignTrailingComments: false
Expand All @@ -16,20 +16,20 @@ BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: true
AfterEnum : true
AfterFunction : true
AfterNamespace : true
AfterStruct : true
AfterUnion : true
BeforeCatch : true
BeforeElse : true
IndentBraces : false
SplitEmptyFunction: false
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
BreakConstructorInitializers: BeforeComma
BreakInheritanceList : BeforeComma
BreakInheritanceList: BeforeComma
ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: false
Cpp11BracedListStyle: true
Expand All @@ -47,28 +47,31 @@ SpaceAfterTemplateKeyword: true
Standard: c++20
TabWidth: 4
UseTab: Never
InsertNewlineAtEOF: true
InsertTrailingCommas: Wrapped
RemoveSemicolon: true

# Not changed:
AccessModifierOffset: -4
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: false
AlignOperands: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: All
BreakBeforeTernaryOperators: true
CommentPragmas: '^ IWYU pragma:'
CommentPragmas: "^ IWYU pragma:"
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
DerivePointerAlignment: false
DisableFormat: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IndentWidth: 4
DisableFormat: false
ForEachMacros: [foreach, Q_FOREACH, BOOST_FOREACH]
IndentWidth: 4
IndentWrappedFunctionNames: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MacroBlockBegin: ""
MacroBlockEnd: ""
NamespaceIndentation: None
ObjCBlockIndentWidth: 4
ObjCSpaceAfterProperty: true
Expand All @@ -92,4 +95,3 @@ SpacesInSquareBrackets: false
Language: Proto
# Added to avoid annoying error message
DisableFormat: true
...
2 changes: 2 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,5 @@ CheckOptions:
value: CamelCase
- key: readability-identifier-naming.UsingCase
value: CamelCase
ExtraArgs:
- -Wno-unknown-pragmas # remove with LLVM 18 https://github.com/llvm/llvm-project/issues/67380
2 changes: 2 additions & 0 deletions .github/licenserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ header:
- 'Cargo.lock'
- 'Cargo.toml'
- 'rust-toolchain'
- 'rust-toolchain.toml'
- '.devcontainer/'
- '**/OWNERS'
- 'OWNERS_ALIASES'
- '**/*.sql'
- 'dbms/src/Common/tests/tls/'

comment: on-failure
4 changes: 4 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Problem Summary:

### What is changed and how it works?

```commit-message

```

### Check List

Tests <!-- At least one of them must be included. -->
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ CTestTestfile.cmake
*.a
*.o
cmake-build-*
/out
/build
/build-debug
/build-release
Expand Down
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,7 @@
url = https://github.com/intel/qpl.git
[submodule "contrib/simdjson"]
path = contrib/simdjson
url = https://github.com/simdjson/simdjson
url = https://github.com/simdjson/simdjson.git
[submodule "contrib/not_null"]
path = contrib/not_null
url = https://github.com/bitwizeshift/not_null.git
2 changes: 1 addition & 1 deletion .toolchain.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 PingCAP, Ltd.
# Copyright 2024 PingCAP, Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

cmake_minimum_required (VERSION 3.21)
cmake_minimum_required (VERSION 3.23)

project (TiFlash LANGUAGES C CXX ASM)

Expand All @@ -24,6 +24,10 @@ set(CMAKE_MACOSX_RPATH 1)

option(TIFLASH_ENABLE_LLVM_DEVELOPMENT "enable facilities for development with LLVM" OFF)

if(NOT CMAKE_PREFIX_PATH AND DEFINED ENV{CMAKE_PREFIX_PATH})
message(STATUS "Reading CMAKE_PREFIX_PATH from env... $ENV{CMAKE_PREFIX_PATH}")
set(CMAKE_PREFIX_PATH "$ENV{CMAKE_PREFIX_PATH}")
endif()
if(CMAKE_PREFIX_PATH)
# append paths for cmake to check libs
set(ENV{LD_LIBRARY_PATH}
Expand Down Expand Up @@ -168,7 +172,7 @@ endif ()

include (cmake/cpu_features.cmake)

set (CMAKE_CXX_STANDARD 20)
set (CMAKE_CXX_STANDARD 23)
set (CMAKE_CXX_EXTENSIONS 1) # https://cmake.org/cmake/help/latest/prop_tgt/CXX_EXTENSIONS.html#prop_tgt:CXX_EXTENSIONS
set (CMAKE_CXX_STANDARD_REQUIRED ON)

Expand Down
Loading