aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-10-09Various bug fixes and code cleanupTschaen, Brendan12-102/+102
Issue-ID: MUSIC-524 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I20bb92f820ae373dfd1b365e8e279431aa999af0
2019-09-27Deadlock detection and recovery with new Music versionArthur Martella18-55/+154
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
2019-09-19Remove duplicate table creationsubhash.kumar.singh2-26/+2
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
2019-09-10Merge "Dependency missing in nexus"Brendan Tschaen1-1/+1
2019-09-04Merge "Replay Transaction Updates"Bharath Balasubramanian12-130/+144
2019-08-28Dependency missing in nexussubhash kumar singh1-1/+1
Dependency missing in nexus. Change-Id: I91a1db6a839bdd30e788b3cb68aacdd301083a4c Issue-ID: MUSIC-466 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-08-12Merge "Update MUSIC version"Bharath Balasubramanian1-2/+2
2019-08-07Configurable "write only locks"Tschaen, Brendan4-0/+14
Issue-ID: MUSIC-466 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I29c9e0fab3432d152824080ac197a57e0eaf0eff
2019-08-06Replay Transaction UpdatesTschaen, Brendan12-130/+144
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
2019-07-30Update MUSIC versionTschaen, Brendan1-2/+2
Issue-ID: MUSIC-466 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I702b03282f12b02cc59942828a153e1f13cfc620
2019-07-25Merge "End test with a select all"Thomas Nelson1-3/+55
2019-07-25End test with a select allTschaen, Brendan1-3/+55
Issue-ID: MUSIC-420 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I8abb83b81fbbf976842f244111eb939d7e077152
2019-07-25Split partition using MRUTschaen, Brendan9-21/+111
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
2019-07-24Replay transaction bugfixTschaen, Brendan6-24/+17
Must replay all transaction in current partition's history Issue-ID: MUSIC-464 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I4e0cc7f1aca0b8506f2ca617169a427cc85bbbeb
2019-07-18Disable Range-reuse to avoid Connection Pooling Issuesstatta3-58/+91
Issue-ID: MUSIC-435 Change-Id: I7a1abfc7b107022869be76d33157999b139d761c Signed-off-by: statta <statta@research.att.com>
2019-07-11Sequential IDs and firstnames for multi-thread test scriptArthur Martella1-38/+105
Issue-ID: MUSIC-420 Signed-off-by: Martella, Arthur <arthur.martella.1@att.com> Change-Id: I484d4d20699458522a81985908c94e4b1d652248
2019-07-10Extra features for multi-thread test scriptArthur Martella1-11/+90
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
2019-07-09Merge "New multi-threaded test client script"Brendan Tschaen1-0/+609
2019-07-09Merge if necessary after ownershipTschaen, Brendan27-246/+329
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
2019-07-08Merge "Maintain server checkpoint locations"Thomas Nelson9-965/+1103
2019-07-01Maintain server checkpoint locationsTschaen, Brendan9-965/+1103
Issue-ID: MUSIC-421 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I39d3eec764e55b6544add41acbd2a86bde532262
2019-07-01Parse OrderBystatta4-6/+69
Issue-ID: MUSIC-423 Also add debugging logic Change-Id: I665675a5da1617f53163e045990ea9f804a8b3ec Signed-off-by: statta <statta@research.att.com>
2019-06-26New multi-threaded test client scriptArthur Martella1-0/+609
Issue-ID: MUSIC-420 Signed-off-by: Martella, Arthur <arthur.martella.1@att.com> Change-Id: I275dce864ed1fc0922f0a2f7f0a4e6a3f5b976f7
2019-06-26Merge "Music Tx Digest Decoding Script"Thomas Nelson1-0/+89
2019-06-25Music Tx Digest Decoding ScriptTschaen, Brendan1-0/+89
Issue-ID: MUSIC-417 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I7d8f8c049888eed95c56123ce58c983820c4364c
2019-06-25Add retry to Music get callsArthur Martella1-15/+19
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
2019-06-25Merge "Keep history of MRI rows in table"Thomas Nelson7-112/+107
2019-06-24Keep history of MRI rows in tableTschaen, Brendan7-112/+107
Remove unused functions, and various code cleanup Issue-ID: MUSIC-414 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I57885d01723d5fb9e8aa449774da9269a4073932
2019-06-24Relinquish Locks aptly based on partitionstatta5-10/+27
Issue-ID: MUSIC-402 Change-Id: I9b54939920521b13649253794d82789b46727acd Signed-off-by: statta <statta@research.att.com>
2019-06-21Use blob type in translogTschaen, Brendan1-1/+1
Issue-ID: MUSIC-389 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I970ee2111cf07e9246bed61676d6fd50009a6135
2019-06-14Merge "Include connection info in log"Thomas Nelson2-2/+5
2019-06-11Include connection info in logTschaen, Brendan2-2/+5
Issue-ID: MUSIC-409 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I4d84d7cbc407f314f22b7a659dc499b23375c470
2019-06-07Merge "Relinquish locks for each transaction"Thomas Nelson4-6/+23
2019-05-31Enhance Clob,Blob supportstatta3-615/+652
Issue-ID: MUSIC-388 Change-Id: Ib02df8239e5d7572470fa696697685bdc582cdbb Signed-off-by: statta <statta@research.att.com>
2019-05-30Relinquish locks for each transactionTschaen, Brendan4-6/+23
Change-Id: I44c10c0cc7857cfb647386507218a4e608b24687 Issue-ID: MUSIC-399 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-05-30Don't create extra locks while claiming ownershipArthur Martella3-9/+19
Issue-ID: MUSIC-402 Signed-off-by: Martella, Arthur <arthur.martella.1@att.com> Change-Id: I12b9ff80be0429ff7a9fc68074a3ca2ec133aee2
2019-05-22Move trigger creation to startupTschaen, Brendan6-54/+18
Change-Id: I0f06d0d704914299ff8dd6dbda2517fd7518507a Issue-ID: MUSIC-396 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-05-22Read write lock implementationTschaen, Brendan10-1338/+132
Change-Id: Ifd680da39305adf36e8a4946643a17e9e0a4df97 Issue-ID: MUSIC-326 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-05-17Fix Clob,Blob read and writesstatta4-62/+2389
Issue-ID: MUSIC-388 Change-Id: I3ddd84f097231a21423325b04c34a4a90e4ea0e0 Signed-off-by: statta <statta@research.att.com>
2019-05-15Merge "Implement postgres, fixes to eventual, and many bug fixes"Brendan Tschaen34-431/+2320
2019-05-03Implement postgres, fixes to eventual, and many bug fixesArthur Martella34-431/+2320
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>
2019-05-01Update oparent versionJessica Wagantall1-1/+1
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>
2019-04-30Fall back sql parsing optionTschaen, Brendan3-14/+87
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>
2019-04-18Switch to calcite query parserTschaen, Brendan11-229/+215
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>
2019-04-16Row re-use fixTschaen, Brendan3-8/+23
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>
2019-04-15Merge "Close connection also updates StateManager"Thomas Nelson2-1/+4
2019-04-15Merge "Reuse current musicrangeinformation row if possible"Thomas Nelson3-4/+25
2019-04-08Merge "New test script for MDBC"Thomas Nelson1-0/+379
2019-04-08Close connection also updates StateManagerArthur Martella2-1/+4
Change-Id: I5861e06a5d11e8bf58a5ae5c470cc62e1861b77f Issue-ID: MUSIC-369 Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
2019-04-05Optimize eventual readsstatta3-139/+193
Issue-ID: MUSIC-371 Change-Id: Ica2a27a16dd82e5c99cb5775d39c6526ed086187 Signed-off-by: statta <statta@research.att.com>