music/mdbc.git
5 years agoMerge "History of range tool" master
Bharath Balasubramanian [Tue, 21 Jan 2020 12:11:37 +0000 (12:11 +0000)]
Merge "History of range tool"

5 years agoHot restart 35/97435/1
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

5 years agoVarious bug fixes and code cleanup 00/96800/1
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

5 years agoDeadlock detection and recovery with new Music version 61/96361/2
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

5 years agoRemove duplicate table creation 67/95967/2
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

5 years agoMerge "Dependency missing in nexus"
Brendan Tschaen [Tue, 10 Sep 2019 16:55:14 +0000 (16:55 +0000)]
Merge "Dependency missing in nexus"

5 years agoMerge "Replay Transaction Updates"
Bharath Balasubramanian [Wed, 4 Sep 2019 15:45:00 +0000 (15:45 +0000)]
Merge "Replay Transaction Updates"

5 years agoDependency missing in nexus 75/94375/2
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>
5 years agoMerge "Update MUSIC version"
Bharath Balasubramanian [Mon, 12 Aug 2019 19:03:56 +0000 (19:03 +0000)]
Merge "Update MUSIC version"

5 years agoConfigurable "write only locks" 26/92926/1
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

5 years agoReplay Transaction Updates 99/92899/1
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

5 years agoUpdate MUSIC version 00/92300/2
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

5 years agoMerge "End test with a select all"
Thomas Nelson [Thu, 25 Jul 2019 20:17:25 +0000 (20:17 +0000)]
Merge "End test with a select all"

5 years agoEnd test with a select all 44/91944/2
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

5 years agoSplit partition using MRU 09/91109/5
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

5 years agoReplay transaction bugfix 53/91953/2
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

5 years agoDisable Range-reuse to avoid Connection Pooling Issues 93/91693/2
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>
5 years agoSequential IDs and firstnames for multi-thread test script 91/91291/1
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

5 years agoHistory of range tool 93/91293/1
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

5 years agoExtra features for multi-thread test script 77/91177/1
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

5 years agoMerge "New multi-threaded test client script"
Brendan Tschaen [Tue, 9 Jul 2019 18:26:10 +0000 (18:26 +0000)]
Merge "New multi-threaded test client script"

5 years agoMerge if necessary after ownership 46/90846/4
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

5 years agoMerge "Maintain server checkpoint locations"
Thomas Nelson [Mon, 8 Jul 2019 17:55:56 +0000 (17:55 +0000)]
Merge "Maintain server checkpoint locations"

5 years agoMaintain server checkpoint locations 40/90740/2
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

5 years agoParse OrderBy 51/90751/2
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>
5 years agoNew multi-threaded test client script 51/90551/1
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

5 years agoMerge "Music Tx Digest Decoding Script"
Thomas Nelson [Wed, 26 Jun 2019 15:00:51 +0000 (15:00 +0000)]
Merge "Music Tx Digest Decoding Script"

5 years agoMusic Tx Digest Decoding Script 84/90484/1
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

5 years agoAdd retry to Music get calls 82/90482/2
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

5 years agoMerge "Keep history of MRI rows in table"
Thomas Nelson [Tue, 25 Jun 2019 20:17:08 +0000 (20:17 +0000)]
Merge "Keep history of MRI rows in table"

5 years agoKeep history of MRI rows in table 11/90411/1
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

5 years agoRelinquish Locks aptly based on partition 04/90404/2
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>
5 years agoUse blob type in translog 28/90328/1
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

5 years agoMerge "Include connection info in log"
Thomas Nelson [Fri, 14 Jun 2019 19:43:38 +0000 (19:43 +0000)]
Merge "Include connection info in log"

6 years agoInclude connection info in log 18/89718/1
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

6 years agoMerge "Relinquish locks for each transaction"
Thomas Nelson [Fri, 7 Jun 2019 18:38:04 +0000 (18:38 +0000)]
Merge "Relinquish locks for each transaction"

6 years agoEnhance Clob,Blob support 64/89064/1
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>
6 years agoRelinquish locks for each transaction 67/88667/3
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>
6 years agoDon't create extra locks while claiming ownership 97/88897/2
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

6 years agoMove trigger creation to startup 02/88302/2
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>
6 years agoRead write lock implementation 87/88187/3
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>
6 years agoFix Clob,Blob read and writes 24/88024/1
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>
6 years agoMerge "Implement postgres, fixes to eventual, and many bug fixes"
Brendan Tschaen [Wed, 15 May 2019 15:08:05 +0000 (15:08 +0000)]
Merge "Implement postgres, fixes to eventual, and many bug fixes"

6 years agoImplement postgres, fixes to eventual, and many bug fixes 62/86562/9
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>
6 years agoUpdate oparent version 69/86769/1
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>
6 years agoFall back sql parsing option 78/86678/1
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>
6 years agoSwitch to calcite query parser 02/85702/2
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>
6 years agoRow re-use fix 73/85473/1
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>
6 years agoMerge "Close connection also updates StateManager"
Thomas Nelson [Mon, 15 Apr 2019 18:08:11 +0000 (18:08 +0000)]
Merge "Close connection also updates StateManager"

6 years agoMerge "Reuse current musicrangeinformation row if possible"
Thomas Nelson [Mon, 15 Apr 2019 18:06:47 +0000 (18:06 +0000)]
Merge "Reuse current musicrangeinformation row if possible"

6 years agoMerge "New test script for MDBC"
Thomas Nelson [Mon, 8 Apr 2019 20:01:16 +0000 (20:01 +0000)]
Merge "New test script for MDBC"

6 years agoClose connection also updates StateManager 02/84402/2
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>
6 years agoOptimize eventual reads 58/84358/1
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>
6 years agoNew test script for MDBC 58/84258/2
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>
6 years agoReuse current musicrangeinformation row if possible 72/84272/1
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>
6 years agoMerge "Remove benchmarks"
Thomas Nelson [Thu, 4 Apr 2019 18:44:28 +0000 (18:44 +0000)]
Merge "Remove benchmarks"

6 years agoRemove benchmarks 43/84143/1
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>
6 years agoDon't call newLocks.put when lockId isn't set 40/84140/2
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
6 years agoMerge "Adding to current partition, and releaseLock bug"
Thomas Nelson [Tue, 2 Apr 2019 22:29:35 +0000 (22:29 +0000)]
Merge "Adding to current partition, and releaseLock bug"

6 years agoAdding to current partition, and releaseLock bug 38/83638/3
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>
6 years agoAdd primary key for delete in tx replay 42/83642/1
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>
6 years agoMerge "Include primary key in insert query"
Bharath Balasubramanian [Thu, 28 Mar 2019 13:12:38 +0000 (13:12 +0000)]
Merge "Include primary key in insert query"

6 years agoImprove commit log and benchmarks 19/83419/3
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>
6 years agoInclude primary key in insert query 16/83416/1
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>
6 years agoMerge "Warm up ranges across sites"
Bharath Balasubramanian [Mon, 25 Mar 2019 23:11:59 +0000 (23:11 +0000)]
Merge "Warm up ranges across sites"

6 years agoInsert/update interchange and PS issue 84/82984/2
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>
6 years agoWarm up ranges across sites 24/82824/2
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>
6 years agoMerge "Shutdown hook logic"
Bharath Balasubramanian [Sun, 17 Mar 2019 21:50:44 +0000 (21:50 +0000)]
Merge "Shutdown hook logic"

6 years agoUpdate INFO.yaml file 27/82327/1
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>
6 years agoShutdown hook logic 07/82307/1
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>
6 years agoMerge "Remove ownership logic from mixin"
Bharath Balasubramanian [Tue, 12 Mar 2019 23:24:52 +0000 (23:24 +0000)]
Merge "Remove ownership logic from mixin"

6 years agoMerge "Include version.properties"
Thomas Nelson [Fri, 8 Mar 2019 21:29:24 +0000 (21:29 +0000)]
Merge "Include version.properties"

6 years agoInclude version.properties 42/79942/1
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>
6 years agoRemove ownership logic from mixin 42/79742/1
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>
6 years agoRefactorization of musicmixin's own code 26/79726/1
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>
6 years agoImprove serialization and table own 60/78260/4
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>
6 years agoUse MariaDB libraries 07/78707/1
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>
6 years agoFix Eventual consistency 58/78158/2
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>
6 years agoUpdate sql parse interface 13/77913/4
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>
6 years agoIncrease timeout on junits 71/77871/1
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>
6 years agoAdd optimization to Eve Logic 28/77728/1
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>
6 years agoMerge "Switch to using mariadb connector"
Thomas Nelson [Thu, 31 Jan 2019 22:46:22 +0000 (22:46 +0000)]
Merge "Switch to using mariadb connector"

6 years agoSwitch to using mariadb connector 58/77658/1
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>
6 years agoKeyspace creation, and handling of mdbc_cuid 32/77532/1
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

6 years agoMerge "Fix node configuration/executable, and minor bugs"
Thomas Nelson [Thu, 24 Jan 2019 17:45:43 +0000 (17:45 +0000)]
Merge "Fix node configuration/executable, and minor bugs"

6 years agoMerge "Database issues with mdbc docker env"
Brendan Tschaen [Thu, 24 Jan 2019 16:27:32 +0000 (16:27 +0000)]
Merge "Database issues with mdbc docker env"

6 years agoFix node configuration/executable, and minor bugs 35/76235/3
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>
6 years agoAdd Eventual consistency logic 64/76064/2
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>
6 years agomdbc-server throws exception 43/75943/2
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>
6 years agoDag, Ownership and Checkpoint (ignore some tests) 39/75739/5
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>
6 years agoDatabase issues with mdbc docker env 65/75065/2
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>
6 years agoRemove netty dependency pulled in by music library 35/75035/1
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>
6 years agoMerge "Deprecated unused method. logged CREATE statement."
Bharath Balasubramanian [Thu, 20 Dec 2018 06:37:53 +0000 (06:37 +0000)]
Merge "Deprecated unused method. logged CREATE statement."

6 years agoMerge "Docker compose scripts for two mdbc sites"
Bharath Balasubramanian [Fri, 14 Dec 2018 05:51:31 +0000 (05:51 +0000)]
Merge "Docker compose scripts for two mdbc sites"

6 years agoDeprecated unused method. logged CREATE statement. 53/74353/2
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>
6 years agoAllow configurable database name 51/74451/2
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>
6 years agoDocker compose scripts for two mdbc sites 31/74631/1
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>
6 years agoClean up ownership work 47/74347/2
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>
6 years agoMerge "CreateNodeConfigurations never exits"
Brendan Tschaen [Wed, 5 Dec 2018 14:48:19 +0000 (14:48 +0000)]
Merge "CreateNodeConfigurations never exits"

6 years agoCreateNodeConfigurations never exits 49/73949/5
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>