Alexey Antipovsky
da691f7b7a
Fix pthread worker funcs to match the POSIX threads API
2020-11-17 15:03:10 +03:00
benthompson15
ee5ed53e77
Fixes for cpimport primary node failover and locking issues.
2020-04-23 05:08:59 -05:00
benthompson15
8dab0fc397
Have process reinits wait for DMLProc to not be in BUSY_INIT state after starting. Restart ControllerNode on Primary failover only.
2020-04-20 03:14:48 -05:00
benthompson15
de99a27673
Restart DBRMController on failover
2020-04-17 03:51:45 -05:00
benthompson15
6765b71fd5
Restart ExeMgr / DMLProc / DDLProc on failovers for RM config update. Also make sure ExeMgr restart happens on primary failover.
2020-04-16 14:42:20 -05:00
benthompson15
18d4d7eae7
Remove extra logging for debug.
2020-04-14 14:49:32 -05:00
benthompson15
0677425139
MCOL-3945: move execution of saveBRM to after autoMovePmDbroot on OAMParentModuleChange.
2020-04-14 12:15:57 -05:00
benthompson15
8458ed0a66
MCOL-3842: Fix logging and retry count for MessageThread startup waiting.
2020-04-06 15:25:02 -05:00
benthompson15
78117414de
MCOL-3842: Fix sequence of reinit / reload failover code fix. Cleanup logging.
2020-04-06 14:06:57 -05:00
benthompson15
9ab09f584f
MCOL-3900: this causes 3 node config to have split brain for primary UM and primary OAM if 3rd node fails.
2020-04-03 12:40:03 -05:00
benthompson15
7c65d7fda0
MCOL-3842: Fix how processes are restarted in failover event.
2020-04-03 12:35:11 -05:00
benthompson15
89e3f6121b
MCOL-3842: Need to exit here if theres already a standby module so gluster doesn't assign a second node.
2020-04-03 12:22:23 -05:00
benthompson15
a88e930f16
MCOL-3842: make sure fuser -k command completes and message thread has started fully before continuing.
2020-04-03 12:15:26 -05:00
benthompson15
cc7191f75f
MCOL-3842: logging cleanup
2020-04-03 12:07:23 -05:00
Andrew Hutchings
a8cd34f86d
Add support for building from server
2019-12-03 21:21:28 +00:00
benthompson15
f3dae6bf0d
MCOL-3577: Fix messaging for filesytem sync.
2019-11-21 18:50:05 -06:00
benthompson15
830490c846
MCOL-3577: Make this run syncFS for storagemanager on all nodes when suspend writes is done from mcsadmin.
2019-11-21 15:19:03 -06:00
benthompson15
5bbd21b8e0
MCOL-3577: Add functionality to sync S3 storage for suspendDatabaseWrites.
2019-11-21 15:19:03 -06:00
Andrew Hutchings
25d22381c6
MCOL-3608 Add module installer file copy
...
Adds back some stuff that was remove distributed that didn't work
properly for non-distributed. Also use /var/lib/columnstore/local
for module file as OAM intended.
2019-11-14 14:40:28 +00:00
Andrew Hutchings
8ab9ebb0f4
MCOL-3606 Make ColumnStore use generic paths
...
ColumnStore now uses standard bin/lib paths for pretty much everything.
Data path is now hard-coded to /var/lib/columnstore.
This patch also:
* Removes v1 decompression
* Removes a bunch of unneeded files
* Removes COLUMNSTORE_INSTALL_DIR / $INSTALLDIR
* Makes my.cnf.d work for all platforms (MCOL-3558)
* Changes configcpp to use recursive mutex (fixes possible config write deadlock)
* Fixes MCOL-3599 Fix regr functions, The library was installed in the wrong location
* Fixes a bunch of Ubuntu packaging issues
* Changes the binary names of several of the executables so as not to
clash with potential executables from other packages
2019-11-09 16:53:05 +00:00
Andrew Hutchings
ebb22a96a3
MCOL-3551 Use generic MariaDB Server paths
...
This branch enforces the use of generic MariaDB server paths for their
binaries and data rather than custom paths.
/usr/local/mariadb/columnstore is now only for columnstore with this
patch.
It should be noted that this removes the auto-mounting of external
MariaDB UM data storage for AWS.
This is also a fix for MCOL-3510 after buildbot changes are made.
Also... MCOL-3552 Use columnstore.cnf to load plugins
The ColumnStore plugins now load using a columnstore.cnf instead of a
SQL sequence to be more in-line with MariaDB's methods.
2019-10-13 09:34:37 +01:00
Andrew Hutchings
8c207bf412
MCOL-3515 Remove distributed install
...
Non-distributed is now the only install method.
2019-09-24 12:02:10 +01:00
Andrew Hutchings
97bda78c3b
Move config files
...
This patch:
* Moves config files from /usr/local/mariadb/columnstore/etc to
ENGINE_SYSCONFDIR/columnstore (ENGINE_SYSCONFDIR is /etc by default)
* Sets a define called MCSSYSCONFDIR whic contains the
ENGINE_SYSCONFDIR compile time setting
* Modifies scripts and code to use the new paths
* Removes a whole bunch of files we don't use
2019-09-09 14:13:56 +01:00
Patrick LeBlanc
fbdf1a5308
Merge branch 'develop' into S3-project
2019-08-14 15:37:14 -05:00
Patrick LeBlanc
a09a9d5d0f
Mass substitution 'Corporaton' -> 'Corporation'
2019-08-07 14:43:25 -05:00
Patrick LeBlanc
f6b464f490
A couple more hacks in procmgr.
2019-07-22 16:44:01 -05:00
Patrick LeBlanc
094e5b554a
Changed debugging outputs.
2019-07-22 16:25:31 -05:00
Patrick LeBlanc
45d4a7536b
Need to make it eat a trailing \n char.
2019-07-22 14:47:04 -05:00
Patrick LeBlanc
1f09c533d5
more debugging printouts
2019-07-22 14:12:41 -05:00
Patrick LeBlanc
ee81f96f4a
More debugging printouts.
2019-07-22 13:31:02 -05:00
Patrick LeBlanc
9f93844772
Still debugging brm transfer stuff. Added some debugging printouts.
2019-07-22 10:39:17 -05:00
Patrick LeBlanc
e8dd6443d6
Replaced some of the shell stuff it was doing with IDB FS fcns.
...
Still debugging...
2019-07-22 09:58:10 -05:00
Patrick LeBlanc
52bd0ee967
Some logging changes for debugging.
2019-07-19 15:52:01 -05:00
Patrick LeBlanc
be214a6fda
Fixed a bug re the previous commit.
2019-07-19 14:54:33 -05:00
Patrick LeBlanc
1a7e733016
Hacked IDB-IO ops into the getDBRMData() stuff procmgr does.
...
Replaced the fstream stuff it did.
2019-07-19 14:33:29 -05:00
Patrick LeBlanc
d0a576483e
Tentative fix for procmon d/ling DBRM files into data1. That screws things
...
up on shared filesystems, and storagemanager, which has sort-of a shared
filesystem view.
2019-07-19 09:54:54 -05:00
Patrick LeBlanc
7d4f406888
Changed the retry behavior in SocketPool to get load_brm to work
...
when called by proc???. Also made proc??? start/stop SM around
save_brm runs. There seems not to be a saner way to do that atm.
So, on stop/restart/shutdown, it will do
1) stop everything
2) restart SM
3) save_brm
4) stop SM again
2019-07-18 11:14:12 -05:00
Patrick LeBlanc
366cd406ba
Cleaned up the diff vs S3-project.
2019-06-12 10:00:11 -05:00
Patrick LeBlanc
d454f84b82
Cleaned up the hacks made so far.
2019-06-10 09:41:03 -05:00
Patrick LeBlanc
15c256b011
Checkpointing some stuff. Doesn't work yet.
2019-06-06 15:47:15 -05:00
Patrick LeBlanc
98c9cd7b22
Checkpointing some experimental changes to get storagemanager running.
2019-06-06 08:36:40 -05:00
Roman Nozdrin
9dc33c4e82
Another try to cope with warnings under gcc 8.2.
2019-04-29 11:05:03 +03:00
Patrick LeBlanc
7ad0aa4420
MCOL-1607. Tentative change to include addModule.
...
This might or might not let addModule store host names
instead of IP addresses.
2018-11-29 15:20:05 -06:00
Patrick LeBlanc
f9922a37dc
MCOL-1558. Changed one other place the _current file is used.
2018-11-26 10:44:11 -06:00
David Hill
cf6820d342
MCOL-520 - added in mysql_upgrade script and fix issue with shared memory not cleared at shutdown
2018-11-03 17:06:36 -05:00
David Hill
3e17f0ce5b
MCOL-520 - add in the mariadb upgrade code
2018-11-02 10:52:11 -05:00
David Hill
daae3af7ae
MCOL-520 - fix amazon login issue
2018-11-01 14:36:41 -05:00
David Hill
59b887f921
MCOL-520 - fix amazon login issue
2018-11-01 10:59:03 -05:00
David Hill
1d56ed7a93
MCOL-520 - fix amazon login issue
2018-11-01 10:27:43 -05:00
David Hill
d6d1a11d0b
MCOL-520 amazon changes
2018-10-25 16:43:58 -05:00