You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
fix(cmapi): MCOL-5913 cmapi write local address 127.0.1.1 instead real ip address
* feat(cmapi): NetworkManager class for some ip hostname opoerations. * fix(cmapi): Use NetworkManager class to resolve ip and hostname in node_manipulation.add_node function * fix(cmapi): Minor docstring and formatting fixes
This commit is contained in:
committed by
Alan Mologorsky
parent
59a19aaa88
commit
b6a5c1d71f
@ -43,7 +43,14 @@ SECRET_KEY = 'MCSIsTheBestEver' # not just a random string! (base32)
|
||||
|
||||
|
||||
# network constants
|
||||
LOCALHOSTS = ('localhost', '127.0.0.1', '::1')
|
||||
# according to https://www.ibm.com/docs/en/storage-sentinel/1.1.2?topic=installation-map-your-local-host-loopback-address
|
||||
LOCALHOSTS = (
|
||||
'127.0.0.1',
|
||||
'localhost', 'localhost.localdomain',
|
||||
'localhost4', 'localhost4.localdomain4',
|
||||
'::1',
|
||||
'localhost6', 'localhost6.localdomain6',
|
||||
)
|
||||
|
||||
CMAPI_INSTALL_PATH = '/usr/share/columnstore/cmapi/'
|
||||
CMAPI_PYTHON_BIN = os.path.join(CMAPI_INSTALL_PATH, "python/bin/python3")
|
||||
|
Reference in New Issue
Block a user