Skip to content

Commit

Permalink
V2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
frf12 committed Oct 12, 2024
1 parent 23cb913 commit ce5deca
Show file tree
Hide file tree
Showing 20 changed files with 322 additions and 212 deletions.
2 changes: 1 addition & 1 deletion _deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class UserConfig(object):
'password': None,
'key_file': None,
'port': 22,
'timeout': 30
'timeout': 300
}

def __init__(self, username=None, password=None, key_file=None, port=None, timeout=None):
Expand Down
2 changes: 1 addition & 1 deletion plugins/oceanbase/4.0.0.0/parameter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@
name_local: 集群系统内存
essential: true
type: CAPACITY_MB
default: 30G
default: 0
min_value: 0M
max_value: NULL
section: OBSERVER
Expand Down
2 changes: 1 addition & 1 deletion plugins/oceanbase/4.2.0.0/parameter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@
name_local: 集群系统内存
essential: true
type: CAPACITY_MB
default: 30G
default: 0
min_value: 0M
max_value: NULL
section: OBSERVER
Expand Down
2 changes: 1 addition & 1 deletion plugins/oceanbase/4.2.1.0/parameter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@
name_local: 集群系统内存
essential: true
type: CAPACITY_MB
default: 30G
default: 0
min_value: 0M
max_value: NULL
section: OBSERVER
Expand Down
2 changes: 1 addition & 1 deletion plugins/oceanbase/4.2.1.4/parameter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@
name_local: 集群系统内存
essential: true
type: CAPACITY_MB
default: 30G
default: 0
min_value: 0M
max_value: NULL
section: OBSERVER
Expand Down
2 changes: 1 addition & 1 deletion plugins/oceanbase/4.2.2.0/parameter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@
name_local: 集群系统内存
essential: true
type: CAPACITY_MB
default: 30G
default: 0
min_value: 0M
max_value: NULL
section: OBSERVER
Expand Down
2 changes: 1 addition & 1 deletion plugins/oceanbase/4.3.0.0/parameter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@
name_local: 集群系统内存
essential: true
type: CAPACITY_MB
default: 30G
default: 0
min_value: 0M
max_value: NULL
section: OBSERVER
Expand Down
36 changes: 36 additions & 0 deletions rpm/ob-deploy.spec
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,54 @@ cd ${RPM_BUILD_ROOT}/usr/obd/optimize && ln -s obproxy obproxy-ce


%post
#!/bin/bash
# chkconfig: 2345 10 90
# description: obd ....
chmod -R 755 /usr/obd/*
chown -R root:root /usr/obd/*
find /usr/obd -type f -exec chmod 644 {} \;
chmod +x /usr/bin/obd
chmod +x /usr/obd/lib/executer/executer27/bin/executer
if [[ $(DIRS=(/home /root); for dir in "${DIRS[@]}"; do [ -d "$dir" ] && find "$dir" -name "env.sh" |xargs -r grep 'OBD_INSTALL_PRE' | xargs -r echo; done) ]]; then
echo "Detected residual environment variables of oceanbase-all-in-one in the system. Please execute \`rm -rf ~/.obd/version && rm -rf ~/.oceanbase-all-in-one/obd && obd env set OBD_INSTALL_PRE / \` under the user who installed all-in-one and rerun."
fi
echo -e 'Installation of obd finished successfully\nPlease source /etc/profile.d/obd.sh to enable it'
#/sbin/chkconfig --add obd
#/sbin/chkconfig obd on
%changelog
* Tue Oct 12 2024 obd 2.10.1
- new features: adapt to Oceanbase-CE 4.3.3
- new features: add OCP MetaDB version verification functionality
- optimizations: refine default component configuration logic for white screen deployments
- enhancements: improve user experience on low-performance machines
* Tue Sep 03 2024 obd 2.10.0
- new features: adapt to Oceanbase-CE 4.3.3
- new features: adapt to OBProxy 4.3.1
- enhancements: support component management in graphical interface
- enhancements: support selecting business type when deploying OceanBase database in graphical interface
- enhancements: optimize edit-config logic to prevent users from mistakenly redeploying the cluster
- enhancements: optimize restart parameter passing logic to avoid overwriting user configurations
- enhancements: optimize disk usage logic
- enhancem¸ents: print connection information when creating tenants
- enhancements: test command group supports automatic installation of toolkits
- enhancements: support sysbench testing multiple scenarios and threads in one run
- enhancements: support tpch testing for data import via bypass
- enhancements: support specifying monitor_user when deploying OBAgent
- enhancements: automatic log desensitization
- bug fixes: fixed an issue where deploying OCP with automatic takeover of MetaDB had unexpected SSH port behavior
- bug fixds: fixed an issue where unexpected parameters were passed when restarting OCP
- bug fixds: fixed an issue where the existing obconfig_url configuration did not take effect during Oceanbase deployment
- bug fixds: fixed an issue where destroying OCP resulted in directory deletion errors in specific scenarios
- bug fixds: fixed an issue where encountering a program interruption during upgrade caused unexpected re-upgrade behaviorfixed an issue where unexpected parameters were passed when restarting OCP
- bug fixds: fixed an issue where the existing obconfig_url configuration did not take effect during Oceanbase deployment
- bug fixds: fixed an issue where destroying OCP resulted in directory deletion errors in specific scenarios
- bug fixds: fixed an issue where encountering a program interruption during upgrade caused unexpected re-upgrade behavior
* Tue Jun 18 2024 obd 2.9.2
- bug fixes: fixed an issue where OCP taken over encountered exceptions during upgrades.
* Thu Jun 13 2024 obd 2.9.1
- bug fixes: fixed an issue where an exception occurred when deploying OCP and OceanBase simultaneously
- enhancements: optimize the OBShell deployment check
* Fri Apr 19 2024 obd 2.9.0
- new features: support for graphical deployment of ConfigServer
- new features: supports custom production_mode, scenario configuration in graphical deployment of OceanBase
Expand Down
2 changes: 1 addition & 1 deletion ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

class SshConfig(object):

def __init__(self, host, username='root', password=None, key_filename=None, port=22, timeout=30):
def __init__(self, host, username='root', password=None, key_filename=None, port=22, timeout=300):
self.host = host
self.username = username
self.password = password if password is None else str(password)
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"classnames": "^2.3.2",
"copy-to-clipboard": "3.3.3",
"cross-env": "7.0.3",
"i18next": "^23.8.1",
"i18next": "^23.15.2",
"jsencrypt": "^3.3.2",
"lodash": "^4.17.21",
"lottie-web": "5.10.2",
Expand Down
Loading

0 comments on commit ce5deca

Please sign in to comment.