Bharath Balasubramanian [Tue, 21 Jan 2020 12:11:37 +0000 (12:11 +0000)]
Merge "History of range tool"
Tschaen, Brendan [Tue, 22 Oct 2019 18:40:53 +0000 (14:40 -0400)]
Hot restart
Issue-ID: MUSIC-421
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: Id8657485e11edba35d854c131fa2824c9bef28df
Tschaen, Brendan [Wed, 9 Oct 2019 14:24:12 +0000 (10:24 -0400)]
Various bug fixes and code cleanup
Issue-ID: MUSIC-524
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I20bb92f820ae373dfd1b365e8e279431aa999af0
Arthur Martella [Fri, 27 Sep 2019 20:38:37 +0000 (16:38 -0400)]
Deadlock detection and recovery with new Music version
Update MDBC to new Music version
Fix errors caused by update
Deadlock detection and recovery
Replaces improperly stacked commits at https://gerrit.onap.org/r/c/music/mdbc/+/96357/2
Issue-ID: MUSIC-502
Signed-off-by: Martella, Arthur <arthur.martella.1@att.com>
Change-Id: I96b87ba73b811a672e03895e0124d78d9bf409b1
subhash.kumar.singh [Thu, 19 Sep 2019 07:05:39 +0000 (12:35 +0530)]
Remove duplicate table creation
Remove code to create table as it is already done by the MusicMixin
constructor.
Added java8 syntax enhancement.
Change-Id: Ic04987d701e969466f40fbe255576b85206032f9
Signed-off-by: subhash.kumar.singh <subhash.kumar.singh@huawei.com>
Issue-ID: MUSIC-412
Brendan Tschaen [Tue, 10 Sep 2019 16:55:14 +0000 (16:55 +0000)]
Merge "Dependency missing in nexus"
Bharath Balasubramanian [Wed, 4 Sep 2019 15:45:00 +0000 (15:45 +0000)]
Merge "Replay Transaction Updates"
subhash kumar singh [Tue, 27 Aug 2019 19:44:00 +0000 (01:14 +0530)]
Dependency missing in nexus
Dependency missing in nexus.
Change-Id: I91a1db6a839bdd30e788b3cb68aacdd301083a4c
Issue-ID: MUSIC-466
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Bharath Balasubramanian [Mon, 12 Aug 2019 19:03:56 +0000 (19:03 +0000)]
Merge "Update MUSIC version"
Tschaen, Brendan [Wed, 7 Aug 2019 16:36:06 +0000 (12:36 -0400)]
Configurable "write only locks"
Issue-ID: MUSIC-466
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I29c9e0fab3432d152824080ac197a57e0eaf0eff
Tschaen, Brendan [Tue, 6 Aug 2019 17:37:29 +0000 (13:37 -0400)]
Replay Transaction Updates
Simplify replay logic, already applied datastructure
Remove table from txdigest column
Issue-ID: MUSIC-421
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: Ic757e6302e05d188704e625c76a77b106e000152
Tschaen, Brendan [Tue, 30 Jul 2019 17:11:20 +0000 (13:11 -0400)]
Update MUSIC version
Issue-ID: MUSIC-466
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I702b03282f12b02cc59942828a153e1f13cfc620
Thomas Nelson [Thu, 25 Jul 2019 20:17:25 +0000 (20:17 +0000)]
Merge "End test with a select all"
Tschaen, Brendan [Wed, 24 Jul 2019 13:43:23 +0000 (09:43 -0400)]
End test with a select all
Issue-ID: MUSIC-420
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I8abb83b81fbbf976842f244111eb939d7e077152
Tschaen, Brendan [Tue, 9 Jul 2019 19:02:22 +0000 (15:02 -0400)]
Split partition using MRU
Most recently used approach to splitting a partition.
Split happens when committing, we see what we've used
from existing partition and splits accordingly. This
feature is configurable via the mdbc.properties file.
Issue-ID: MUSIC-404
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: Ie33f4d1ae0e6253678062558015c2a10c4fae614
Tschaen, Brendan [Wed, 24 Jul 2019 15:13:14 +0000 (11:13 -0400)]
Replay transaction bugfix
Must replay all transaction in current partition's history
Issue-ID: MUSIC-464
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I4e0cc7f1aca0b8506f2ca617169a427cc85bbbeb
statta [Thu, 18 Jul 2019 19:18:59 +0000 (15:18 -0400)]
Disable Range-reuse to avoid Connection Pooling Issues
Issue-ID: MUSIC-435
Change-Id: I7a1abfc7b107022869be76d33157999b139d761c
Signed-off-by: statta <statta@research.att.com>
Arthur Martella [Thu, 11 Jul 2019 20:02:22 +0000 (16:02 -0400)]
Sequential IDs and firstnames for multi-thread test script
Issue-ID: MUSIC-420
Signed-off-by: Martella, Arthur <arthur.martella.1@att.com>
Change-Id: I484d4d20699458522a81985908c94e4b1d652248
Tschaen, Brendan [Thu, 11 Jul 2019 19:57:27 +0000 (15:57 -0400)]
History of range tool
Issue-ID: MUSIC-417
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I3207d1bc38f108fb68d8760a15aafe9f0efa70ff
Arthur Martella [Wed, 10 Jul 2019 16:24:59 +0000 (12:24 -0400)]
Extra features for multi-thread test script
Add: dynamic table names, rollback chance, max tables per commit, random seed
Issue-ID: MUSIC-420
Signed-off-by: Martella, Arthur <arthur.martella.1@att.com>
Change-Id: I8ee01cf165f802f88f0c7e1dbaf091fd72fa979e
Brendan Tschaen [Tue, 9 Jul 2019 18:26:10 +0000 (18:26 +0000)]
Merge "New multi-threaded test client script"
Tschaen, Brendan [Wed, 3 Jul 2019 16:54:25 +0000 (12:54 -0400)]
Merge if necessary after ownership
Cleaned up merge if necessary code
Change List to Set, which caused cascading changes....
Issue-ID: MUSIC-404
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: Ie7aaeb3ff43073eb3947515523e73037089e763d
Thomas Nelson [Mon, 8 Jul 2019 17:55:56 +0000 (17:55 +0000)]
Merge "Maintain server checkpoint locations"
Tschaen, Brendan [Mon, 1 Jul 2019 16:45:24 +0000 (12:45 -0400)]
Maintain server checkpoint locations
Issue-ID: MUSIC-421
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I39d3eec764e55b6544add41acbd2a86bde532262
statta [Mon, 1 Jul 2019 19:09:39 +0000 (15:09 -0400)]
Parse OrderBy
Issue-ID: MUSIC-423
Also add debugging logic
Change-Id: I665675a5da1617f53163e045990ea9f804a8b3ec
Signed-off-by: statta <statta@research.att.com>
Arthur Martella [Wed, 26 Jun 2019 20:03:25 +0000 (16:03 -0400)]
New multi-threaded test client script
Issue-ID: MUSIC-420
Signed-off-by: Martella, Arthur <arthur.martella.1@att.com>
Change-Id: I275dce864ed1fc0922f0a2f7f0a4e6a3f5b976f7
Thomas Nelson [Wed, 26 Jun 2019 15:00:51 +0000 (15:00 +0000)]
Merge "Music Tx Digest Decoding Script"
Tschaen, Brendan [Tue, 25 Jun 2019 21:15:17 +0000 (17:15 -0400)]
Music Tx Digest Decoding Script
Issue-ID: MUSIC-417
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I7d8f8c049888eed95c56123ce58c983820c4364c
Arthur Martella [Tue, 25 Jun 2019 20:27:00 +0000 (16:27 -0400)]
Add retry to Music get calls
Add 3 retries to Music get calls.
Ideally, should allow configuration of number of retries.
Issue-ID: MUSIC-416
Signed-off-by: Martella, Arthur <arthur.martella.1@att.com>
Change-Id: Ibdbc8c91da103b8058e46f8995f54e349a41afbd
Thomas Nelson [Tue, 25 Jun 2019 20:17:08 +0000 (20:17 +0000)]
Merge "Keep history of MRI rows in table"
Tschaen, Brendan [Mon, 24 Jun 2019 21:27:10 +0000 (17:27 -0400)]
Keep history of MRI rows in table
Remove unused functions, and various code cleanup
Issue-ID: MUSIC-414
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I57885d01723d5fb9e8aa449774da9269a4073932
statta [Mon, 24 Jun 2019 16:27:38 +0000 (12:27 -0400)]
Relinquish Locks aptly based on partition
Issue-ID: MUSIC-402
Change-Id: I9b54939920521b13649253794d82789b46727acd
Signed-off-by: statta <statta@research.att.com>
Tschaen, Brendan [Fri, 21 Jun 2019 19:26:17 +0000 (15:26 -0400)]
Use blob type in translog
Issue-ID: MUSIC-389
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I970ee2111cf07e9246bed61676d6fd50009a6135
Thomas Nelson [Fri, 14 Jun 2019 19:43:38 +0000 (19:43 +0000)]
Merge "Include connection info in log"
Tschaen, Brendan [Tue, 11 Jun 2019 18:26:58 +0000 (14:26 -0400)]
Include connection info in log
Issue-ID: MUSIC-409
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I4d84d7cbc407f314f22b7a659dc499b23375c470
Thomas Nelson [Fri, 7 Jun 2019 18:38:04 +0000 (18:38 +0000)]
Merge "Relinquish locks for each transaction"
statta [Fri, 31 May 2019 16:28:00 +0000 (12:28 -0400)]
Enhance Clob,Blob support
Issue-ID: MUSIC-388
Change-Id: Ib02df8239e5d7572470fa696697685bdc582cdbb
Signed-off-by: statta <statta@research.att.com>
Tschaen, Brendan [Tue, 28 May 2019 14:03:24 +0000 (10:03 -0400)]
Relinquish locks for each transaction
Change-Id: I44c10c0cc7857cfb647386507218a4e608b24687
Issue-ID: MUSIC-399
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Arthur Martella [Thu, 30 May 2019 13:46:02 +0000 (09:46 -0400)]
Don't create extra locks while claiming ownership
Issue-ID: MUSIC-402
Signed-off-by: Martella, Arthur <arthur.martella.1@att.com>
Change-Id: I12b9ff80be0429ff7a9fc68074a3ca2ec133aee2
Tschaen, Brendan [Wed, 22 May 2019 19:29:16 +0000 (15:29 -0400)]
Move trigger creation to startup
Change-Id: I0f06d0d704914299ff8dd6dbda2517fd7518507a
Issue-ID: MUSIC-396
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Tschaen, Brendan [Tue, 21 May 2019 17:19:40 +0000 (13:19 -0400)]
Read write lock implementation
Change-Id: Ifd680da39305adf36e8a4946643a17e9e0a4df97
Issue-ID: MUSIC-326
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
statta [Fri, 17 May 2019 18:55:18 +0000 (14:55 -0400)]
Fix Clob,Blob read and writes
Issue-ID: MUSIC-388
Change-Id: I3ddd84f097231a21423325b04c34a4a90e4ea0e0
Signed-off-by: statta <statta@research.att.com>
Brendan Tschaen [Wed, 15 May 2019 15:08:05 +0000 (15:08 +0000)]
Merge "Implement postgres, fixes to eventual, and many bug fixes"
Arthur Martella [Mon, 29 Apr 2019 19:03:07 +0000 (15:03 -0400)]
Implement postgres, fixes to eventual, and many bug fixes
Streamline upper and lower cases for Ranges
Fix initialization of system
Merged version of commit https://gerrit.onap.org/r/#/c/86160/
Change-Id: I169ed56ff79ff0a2e14ab9bc5e0467d1c0b9f0a9
Issue-ID: MUSIC-387
Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
Jessica Wagantall [Thu, 2 May 2019 02:16:05 +0000 (19:16 -0700)]
Update oparent version
Update oparent version to 2.0.0 which supports
global-jjb maven-stage job.
Change-Id: Ib9f38fbae9e95099856e6dda1d3ace2dc236c747
Issue-ID: CIMAN-234
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Tschaen, Brendan [Tue, 30 Apr 2019 20:17:27 +0000 (16:17 -0400)]
Fall back sql parsing option
If we can't parse the sql query, use basic string analysis
to attempt to find the tables
Change-Id: Ibb81186e1fb768ee2c7c39b11922c99b79bf942d
Issue-ID: MUSIC-391
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Tschaen, Brendan [Thu, 18 Apr 2019 15:08:14 +0000 (11:08 -0400)]
Switch to calcite query parser
Handle SQL Joins
Return Schema/DB and table as range
Change-Id: I9455da1e9118bc547bf28e5f22cce2cf044ce75a
Issue-ID: MUSIC-380
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Tschaen, Brendan [Tue, 16 Apr 2019 13:51:58 +0000 (09:51 -0400)]
Row re-use fix
This prevents rows from being split properly, will follow up on issue
Change-Id: I6d9ebbf8cf9abd2cac4992be407fb6cb44cb318b
Issue-ID: MUSIC-326
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Thomas Nelson [Mon, 15 Apr 2019 18:08:11 +0000 (18:08 +0000)]
Merge "Close connection also updates StateManager"
Thomas Nelson [Mon, 15 Apr 2019 18:06:47 +0000 (18:06 +0000)]
Merge "Reuse current musicrangeinformation row if possible"
Thomas Nelson [Mon, 8 Apr 2019 20:01:16 +0000 (20:01 +0000)]
Merge "New test script for MDBC"
Arthur Martella [Fri, 5 Apr 2019 21:13:52 +0000 (17:13 -0400)]
Close connection also updates StateManager
Change-Id: I5861e06a5d11e8bf58a5ae5c470cc62e1861b77f
Issue-ID: MUSIC-369
Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
statta [Fri, 5 Apr 2019 14:54:06 +0000 (10:54 -0400)]
Optimize eventual reads
Issue-ID: MUSIC-371
Change-Id: Ica2a27a16dd82e5c99cb5775d39c6526ed086187
Signed-off-by: statta <statta@research.att.com>
Arthur Martella [Thu, 4 Apr 2019 16:51:25 +0000 (12:51 -0400)]
New test script for MDBC
Change-Id: If38bcf83a3d4f6209907f24b358477d158d9eecd
Issue-ID: MUSIC-376
Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
Tschaen, Brendan [Thu, 4 Apr 2019 20:18:51 +0000 (16:18 -0400)]
Reuse current musicrangeinformation row if possible
Change-Id: I748a43cefada08df42894968698adcf48a635afb
Issue-ID: MUSIC-326
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Thomas Nelson [Thu, 4 Apr 2019 18:44:28 +0000 (18:44 +0000)]
Merge "Remove benchmarks"
Tschaen, Brendan [Wed, 3 Apr 2019 20:32:33 +0000 (16:32 -0400)]
Remove benchmarks
Will be moved elsewhere
Issue-ID: MUSIC-376
Change-Id: Ieee0ff444e79c71443ff396b69b6a6c113e8ca7e
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Arthur Martella [Wed, 3 Apr 2019 19:58:17 +0000 (15:58 -0400)]
Don't call newLocks.put when lockId isn't set
Change-Id: I77f5870265712958979d7832eeb845d51e35cfe3
Issue-ID: MUSIC-374
Signed-off-by: arthur.martella.1@att.com
Thomas Nelson [Tue, 2 Apr 2019 22:29:35 +0000 (22:29 +0000)]
Merge "Adding to current partition, and releaseLock bug"
Tschaen, Brendan [Thu, 28 Mar 2019 17:46:50 +0000 (13:46 -0400)]
Adding to current partition, and releaseLock bug
Change-Id: I9801656a32480c26b39dea5ae59fd27053d92f29
Issue-ID: MUSIC-374
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Arthur Martella [Thu, 28 Mar 2019 18:00:03 +0000 (14:00 -0400)]
Add primary key for delete in tx replay
Change-Id: Ic8a2e8c311dd657fbdb5936568bc8d168458d3b2
Issue-ID: MUSIC-371
Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
Bharath Balasubramanian [Thu, 28 Mar 2019 13:12:38 +0000 (13:12 +0000)]
Merge "Include primary key in insert query"
Arthur Martella [Tue, 26 Mar 2019 22:02:52 +0000 (18:02 -0400)]
Improve commit log and benchmarks
Attempting to reconcile Enrique's change at
https://gerrit.onap.org/r/#/c/82999/ with the current master.
Change-Id: Id669c267e89d185a18d4dfa9a24852ddefcd83eb
Issue-ID: MUSIC-369
Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
Tschaen, Brendan [Tue, 26 Mar 2019 21:28:39 +0000 (17:28 -0400)]
Include primary key in insert query
Allows replays to easily modify an insert into an update if needed
Change-Id: Ibd0c077240a23aeff3d82ec171c1cecb3274e211
Issue-ID: MUSIC-371
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Bharath Balasubramanian [Mon, 25 Mar 2019 23:11:59 +0000 (23:11 +0000)]
Merge "Warm up ranges across sites"
statta [Thu, 21 Mar 2019 21:57:57 +0000 (17:57 -0400)]
Insert/update interchange and PS issue
Issue-ID: MUSIC-276
Change-Id: I9c9b990cb362adae81e621db527a0f890e00c7eb
Signed-off-by: statta <statta@research.att.com>
Tschaen, Brendan [Wed, 20 Mar 2019 16:12:06 +0000 (12:12 -0400)]
Warm up ranges across sites
Add configuration to select which ranges we warm up. Default (null) is all ranges
Change-Id: I0f241563959cc9fb673ab6d8a87c45e8399086c2
Issue-ID: MUSIC-287
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Bharath Balasubramanian [Sun, 17 Mar 2019 21:50:44 +0000 (21:50 +0000)]
Merge "Shutdown hook logic"
Jessica Wagantall [Fri, 15 Mar 2019 01:21:19 +0000 (18:21 -0700)]
Update INFO.yaml file
Update missing information blocks and
indentation to pass verify job.
Change-Id: I3ab8994e87aa2bde3374bde0d376ae1ef31dd819
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Tschaen, Brendan [Thu, 14 Mar 2019 21:03:27 +0000 (17:03 -0400)]
Shutdown hook logic
Release connections and partitions owned by this server instance
Change-Id: I293705b0d212fcba7e6f80678dee70130a8abe25
Issue-ID: MUSIC-361
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Bharath Balasubramanian [Tue, 12 Mar 2019 23:24:52 +0000 (23:24 +0000)]
Merge "Remove ownership logic from mixin"
Thomas Nelson [Fri, 8 Mar 2019 21:29:24 +0000 (21:29 +0000)]
Merge "Include version.properties"
Tschaen, Brendan [Thu, 7 Mar 2019 20:41:19 +0000 (15:41 -0500)]
Include version.properties
Change-Id: I823d2f98ea215cd8f027c386ac459da31e0cf5ea
Issue-ID: MUSIC-359
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Tschaen, Brendan [Tue, 5 Mar 2019 22:46:20 +0000 (17:46 -0500)]
Remove ownership logic from mixin
Change-Id: I70d62e76e23c690726294c62b9222c4cd9659c70
Issue-ID: MUSIC-326
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Tschaen, Brendan [Mon, 4 Mar 2019 20:49:00 +0000 (15:49 -0500)]
Refactorization of musicmixin's own code
Issue-ID: MUSIC-326
Change-Id: Ia07ff8e6e5c6bd9444f8967eae392a67bf08b7f2
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Enrique Saurez [Wed, 30 Jan 2019 04:43:49 +0000 (23:43 -0500)]
Improve serialization and table own
Reimplement benchmark
Improve serialization using proto
Change staging table structure
Change-Id: Ic13787f81eb7443807efde0e407ab3a4c71a5d64
Issue-ID: MUSIC-327
Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
Tschaen, Brendan [Mon, 18 Feb 2019 21:31:30 +0000 (16:31 -0500)]
Use MariaDB libraries
Change-Id: I240b94f7381c45b548b8d70714a4fcdb383a14aa
Issue-ID: MUSIC-337
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
st782s [Fri, 8 Feb 2019 22:30:33 +0000 (17:30 -0500)]
Fix Eventual consistency
Issue-ID: MUSIC-319
Change-Id: I7433e7d71c44ffe623e560863e7e1fd9c0f247ce
Signed-off-by: st782s <statta@research.att.com>
Tschaen, Brendan [Tue, 5 Feb 2019 20:12:48 +0000 (15:12 -0500)]
Update sql parse interface
Created junit tests
Fix files code formatting
Issue-ID: MUSIC-311
Change-Id: I9e11a17482a2567055fdee0da8e206ac92235d5f
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Tschaen, Brendan [Tue, 5 Feb 2019 13:40:03 +0000 (08:40 -0500)]
Increase timeout on junits
Issue-ID: MUSIC-309
Change-Id: Ic3d1095e4fa10da8ef06b62884db0c9e6ebb7612
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
st782s [Fri, 1 Feb 2019 15:54:59 +0000 (10:54 -0500)]
Add optimization to Eve Logic
Issue-ID: MUSIC-276
Change-Id: I5c2e7ee79301ebca71abda952153eed89eea3f8f
Signed-off-by: st782s <statta@research.att.com>
Thomas Nelson [Thu, 31 Jan 2019 22:46:22 +0000 (22:46 +0000)]
Merge "Switch to using mariadb connector"
Tschaen, Brendan [Thu, 31 Jan 2019 16:02:41 +0000 (11:02 -0500)]
Switch to using mariadb connector
Change-Id: I24a756971b8b653cf2c753f76995b53c53b68d52
Issue-ID: MUSIC-289
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Enrique Saurez [Sun, 27 Jan 2019 03:51:56 +0000 (22:51 -0500)]
Keyspace creation, and handling of mdbc_cuid
Issue-ID: MUSIC-281
Signed-off-by: Enrique Saurez<enrique.saurez@gmail.com>
Change-Id: I3bc685e30e064c1c93386301385115632b179449
Thomas Nelson [Thu, 24 Jan 2019 17:45:43 +0000 (17:45 +0000)]
Merge "Fix node configuration/executable, and minor bugs"
Brendan Tschaen [Thu, 24 Jan 2019 16:27:32 +0000 (16:27 +0000)]
Merge "Database issues with mdbc docker env"
Enrique Saurez [Tue, 22 Jan 2019 18:20:22 +0000 (13:20 -0500)]
Fix node configuration/executable, and minor bugs
Change-Id: Ia442afe3146a532b01f8e7ef0f26c2dcbfdf4334
Issue-ID: MUSIC-281
Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
st782s [Mon, 21 Jan 2019 12:21:46 +0000 (07:21 -0500)]
Add Eventual consistency logic
Issue-ID: MUSIC-276
Change-Id: Ie6b2508c57f0a7b677f48f87c991adcd613147cc
Signed-off-by: st782s <statta@research.att.com>
Rob Daugherty [Thu, 17 Jan 2019 17:17:15 +0000 (12:17 -0500)]
mdbc-server throws exception
This happens when the TablesConfiguration is done.
It's apparently caused because music jar was compiled with
netty 4.1, but the version present at runtime is 4.0.
The solution I propose is to add an explicit dependency in
mdbc for netty 4.1, which should override the 4.0 version
pulled in by cassandra.
Exception (java.lang.AbstractMethodError) encountered during startup: io.netty.util.concurrent.MultithreadEventExecutorGroup.newChild(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Lio/netty/util/conc
urrent/EventExecutor;
java.lang.AbstractMethodError: io.netty.util.concurrent.MultithreadEventExecutorGroup.newChild(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Lio/netty/util/concurrent/EventExecutor;
Change-Id: Ie658ce4a7621eb2a0d2417d35e0fd2bd96565c8c
Issue-ID: MUSIC-271
Signed-off-by: Rob Daugherty <rd472p@att.com>
Enrique Saurez [Sat, 1 Dec 2018 00:02:00 +0000 (19:02 -0500)]
Dag, Ownership and Checkpoint (ignore some tests)
Change-Id: Ia720ba45b4f9c8687f5eac5b0d64fd2be19fedaa
Issue-ID: MUSIC-269
Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
Rob Daugherty [Fri, 21 Dec 2018 15:39:47 +0000 (10:39 -0500)]
Database issues with mdbc docker env
Two problems:
The docker-compose scripts are pulling in an older version
of mariadb that doesn't have the JSON functions we need.
We can use 10.3.11, which is the latest stable release.
The DB user needs to have the SUPER privilege so that mdbc
can add database triggers.
Change-Id: Ic9b2daeb0196a2134f9260b39a41a4a10be01a06
Issue-ID: MUSIC-266
Signed-off-by: Rob Daugherty <rd472p@att.com>
Tschaen, Brendan [Thu, 20 Dec 2018 22:27:54 +0000 (17:27 -0500)]
Remove netty dependency pulled in by music library
Issue-ID: MUSIC-265
Change-Id: I04a403653db4bb989901a565cf64f85a0ed2239b
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Bharath Balasubramanian [Thu, 20 Dec 2018 06:37:53 +0000 (06:37 +0000)]
Merge "Deprecated unused method. logged CREATE statement."
Bharath Balasubramanian [Fri, 14 Dec 2018 05:51:31 +0000 (05:51 +0000)]
Merge "Docker compose scripts for two mdbc sites"
Vikram Potturi [Thu, 6 Dec 2018 20:05:22 +0000 (15:05 -0500)]
Deprecated unused method. logged CREATE statement.
Change-Id: I39155ef4e523fe4a643089eb26be388ca47aa4d2
Issue-ID: MUSIC-164
Signed-off-by: Vikram Potturi <vikramaditya.potturi@att.com>
Tschaen, Brendan [Mon, 10 Dec 2018 15:24:27 +0000 (10:24 -0500)]
Allow configurable database name
Change-Id: I967df28f2f5281e7eee6a03087a279cbbe9f6e3e
Issue-ID: MUSIC-258
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Rob Daugherty [Thu, 13 Dec 2018 18:58:11 +0000 (13:58 -0500)]
Docker compose scripts for two mdbc sites
This is a two site installation, with a single cassandra
container, two mariadb containers, and two mdbc-server
containers.
Server 1 exposes port 30001 and server 2 exposes port 30002.
To build the docker images, first build mdbc software
normally, then use the 'docker' maven profile:
mvn -P docker clean install
To bring up the environment:
cd mdbc-packages/mdbc-docker/compose/two-sites
docker-compose up
Change-Id: I10155ebf47dec4e787d44b23886ab8453ac4315f
Issue-ID: MUSIC-263
Signed-off-by: Rob Daugherty <rd472p@att.com>
Tschaen, Brendan [Thu, 6 Dec 2018 17:23:54 +0000 (12:23 -0500)]
Clean up ownership work
leverage DatabasePartition class
remove extra classes, improve workflow
remove failing unit test
ensure example runs all the way through
Change-Id: If8d59d207d093d4245b9d6cb5bd59c7fe1ebfb19
Issue-ID: MUSIC-230
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Brendan Tschaen [Wed, 5 Dec 2018 14:48:19 +0000 (14:48 +0000)]
Merge "CreateNodeConfigurations never exits"
Rob Daugherty [Thu, 29 Nov 2018 15:02:08 +0000 (10:02 -0500)]
CreateNodeConfigurations never exits
A non-daemon background thread is keeping the process alive
even when the main method is done.
Change-Id: I707a30df758e847a160f55512219add37eddaab1
Issue-ID: MUSIC-217
Signed-off-by: Rob Daugherty <rd472p@att.com>