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

[feat](docker)Add a BE ENV item 'SKIP_CHECK_ULIMIT' for Docker to start quickly #45267

Merged
merged 38 commits into from
Dec 16, 2024
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b7a0cc8
Refactor upgrade documentation
FreeOnePlus Jul 3, 2023
01074ca
Merge branch 'apache:master' into master
FreeOnePlus Jul 4, 2023
9d96f54
Merge branch 'apache:master' into master
FreeOnePlus Aug 15, 2023
c9c7af2
Merge branch 'apache:master' into master
FreeOnePlus Sep 15, 2023
f924fde
Merge branch 'apache:master' into master
FreeOnePlus Nov 13, 2023
bcb7df4
Merge branch 'apache:master' into master
FreeOnePlus Nov 24, 2023
00f1515
Merge branch 'apache:master' into master
FreeOnePlus Dec 10, 2023
027a73d
Merge branch 'apache:master' into master
FreeOnePlus Jan 15, 2024
f575143
Merge branch 'apache:master' into master
FreeOnePlus Jan 24, 2024
58118ce
Merge branch 'apache:master' into master
FreeOnePlus Feb 28, 2024
61a4fbd
Merge branch 'apache:master' into master
FreeOnePlus Mar 2, 2024
cb04baa
Merge branch 'apache:master' into master
FreeOnePlus Mar 4, 2024
21adbbe
Merge branch 'apache:master' into master
FreeOnePlus Mar 7, 2024
4fbfc41
Merge branch 'apache:master' into master
FreeOnePlus Mar 9, 2024
dfc2c71
Merge branch 'apache:master' into master
FreeOnePlus Mar 30, 2024
8ab6526
Merge branch 'apache:master' into master
FreeOnePlus Apr 17, 2024
87717e0
Merge branch 'apache:master' into master
FreeOnePlus Jun 23, 2024
974ce3d
Merge branch 'apache:master' into master
FreeOnePlus Jul 5, 2024
c0a217f
Merge branch 'apache:master' into master
FreeOnePlus Nov 27, 2024
ee98380
Merge branch 'apache:master' into master
FreeOnePlus Dec 7, 2024
b8e25bb
Merge branch 'apache:master' into master
FreeOnePlus Dec 9, 2024
3b1b75c
add skip_check_ulimit
FreeOnePlus Dec 10, 2024
1fd6323
add skip_check_ulimit
FreeOnePlus Dec 10, 2024
ef68662
add skip_check_ulimit
FreeOnePlus Dec 10, 2024
4aae33b
add skip_check_ulimit config
FreeOnePlus Dec 11, 2024
01abd7f
add skip_check_ulimit config
FreeOnePlus Dec 11, 2024
5ac566c
add skip_check_ulimit config
FreeOnePlus Dec 11, 2024
366d862
add skip_check_ulimit config
FreeOnePlus Dec 11, 2024
fbf807c
add skip_check_ulimit config
FreeOnePlus Dec 11, 2024
4c4e726
add skip_check_ulimit config
FreeOnePlus Dec 11, 2024
edac46b
add skip_check_ulimit config
FreeOnePlus Dec 11, 2024
744f997
add skip_check_ulimit config
FreeOnePlus Dec 11, 2024
6b75f7d
add skip_check_ulimit config
FreeOnePlus Dec 11, 2024
c26ea4b
add skip_check_ulimit config
FreeOnePlus Dec 12, 2024
5eca021
add skip_check_ulimit config
FreeOnePlus Dec 12, 2024
1a628c4
add skip_check_ulimit config
FreeOnePlus Dec 12, 2024
cf9f3fd
Merge branch 'master' into skip_ulimit_check
FreeOnePlus Dec 12, 2024
d9b2917
add skip_check_ulimit config
FreeOnePlus Dec 12, 2024
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
10 changes: 10 additions & 0 deletions be/src/olap/storage_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,16 @@ Status StorageEngine::_check_file_descriptor_number() {
<< ", use default configuration instead.";
return Status::OK();
}
if (getenv("SKIP_CHECK_ULIMIT") == nullptr) {
LOG(INFO) << "will check 'ulimit' value.";
} else if (std::string(getenv("SKIP_CHECK_ULIMIT")) == "true") {
LOG(INFO) << "the 'ulimit' value check is skipped"
<< ", the SKIP_CHECK_ULIMIT env value is " << getenv("SKIP_CHECK_ULIMIT");
return Status::OK();
} else {
LOG(INFO) << "the SKIP_CHECK_ULIMIT env value is " << getenv("SKIP_CHECK_ULIMIT")
<< ", will check ulimit value.";
}
if (l.rlim_cur < config::min_file_descriptor_number) {
LOG(ERROR) << "File descriptor number is less than " << config::min_file_descriptor_number
<< ". Please use (ulimit -n) to set a value equal or greater than "
Expand Down
Loading