aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-27Improve commit log and benchmarksArthur Martella46-1075/+3700
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>
2019-03-26Include primary key in insert queryTschaen, Brendan2-8/+25
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>
2019-03-25Merge "Warm up ranges across sites"Bharath Balasubramanian11-58/+296
2019-03-22Insert/update interchange and PS issuestatta4-109/+177
Issue-ID: MUSIC-276 Change-Id: I9c9b990cb362adae81e621db527a0f890e00c7eb Signed-off-by: statta <statta@research.att.com>
2019-03-20Warm up ranges across sitesTschaen, Brendan11-58/+296
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>
2019-03-17Merge "Shutdown hook logic"Bharath Balasubramanian2-0/+10
2019-03-14Update INFO.yaml fileJessica Wagantall1-27/+38
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>
2019-03-14Shutdown hook logicTschaen, Brendan2-0/+10
Release connections and partitions owned by this server instance Change-Id: I293705b0d212fcba7e6f80678dee70130a8abe25 Issue-ID: MUSIC-361 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-03-12Merge "Remove ownership logic from mixin"Bharath Balasubramanian12-331/+453
2019-03-08Merge "Include version.properties"Thomas Nelson1-0/+13
2019-03-07Include version.propertiesTschaen, Brendan1-0/+13
Change-Id: I823d2f98ea215cd8f027c386ac459da31e0cf5ea Issue-ID: MUSIC-359 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-03-05Remove ownership logic from mixinTschaen, Brendan12-331/+453
Change-Id: I70d62e76e23c690726294c62b9222c4cd9659c70 Issue-ID: MUSIC-326 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-03-05Refactorization of musicmixin's own codeTschaen, Brendan5-51/+104
Issue-ID: MUSIC-326 Change-Id: Ia07ff8e6e5c6bd9444f8967eae392a67bf08b7f2 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-26Improve serialization and table ownEnrique Saurez20-639/+2992
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>
2019-02-18Use MariaDB librariesTschaen, Brendan3-20/+1
Change-Id: I240b94f7381c45b548b8d70714a4fcdb383a14aa Issue-ID: MUSIC-337 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-11Fix Eventual consistencyst782s3-172/+191
Issue-ID: MUSIC-319 Change-Id: I7433e7d71c44ffe623e560863e7e1fd9c0f247ce Signed-off-by: st782s <statta@research.att.com>
2019-02-07Update sql parse interfaceTschaen, Brendan4-198/+288
Created junit tests Fix files code formatting Issue-ID: MUSIC-311 Change-Id: I9e11a17482a2567055fdee0da8e206ac92235d5f Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-05Increase timeout on junitsTschaen, Brendan1-1/+1
Issue-ID: MUSIC-309 Change-Id: Ic3d1095e4fa10da8ef06b62884db0c9e6ebb7612 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-01Add optimization to Eve Logicst782s5-58/+171
Issue-ID: MUSIC-276 Change-Id: I5c2e7ee79301ebca71abda952153eed89eea3f8f Signed-off-by: st782s <statta@research.att.com>
2019-01-31Merge "Switch to using mariadb connector"Thomas Nelson2-0/+14
2019-01-31Switch to using mariadb connectorTschaen, Brendan2-0/+14
Change-Id: I24a756971b8b653cf2c753f76995b53c53b68d52 Issue-ID: MUSIC-289 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-01-29Keyspace creation, and handling of mdbc_cuidEnrique Saurez15-80/+171
Issue-ID: MUSIC-281 Signed-off-by: Enrique Saurez<enrique.saurez@gmail.com> Change-Id: I3bc685e30e064c1c93386301385115632b179449
2019-01-24Merge "Fix node configuration/executable, and minor bugs"Thomas Nelson20-106/+740
2019-01-24Merge "Database issues with mdbc docker env"Brendan Tschaen4-3/+5
2019-01-23Fix node configuration/executable, and minor bugsEnrique Saurez20-106/+740
Change-Id: Ia442afe3146a532b01f8e7ef0f26c2dcbfdf4334 Issue-ID: MUSIC-281 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
2019-01-22Add Eventual consistency logicst782s14-153/+624
Issue-ID: MUSIC-276 Change-Id: Ie6b2508c57f0a7b677f48f87c991adcd613147cc Signed-off-by: st782s <statta@research.att.com>
2019-01-17mdbc-server throws exceptionRob Daugherty2-0/+10
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>
2019-01-15Dag, Ownership and Checkpoint (ignore some tests)Enrique Saurez27-420/+2759
Change-Id: Ia720ba45b4f9c8687f5eac5b0d64fd2be19fedaa Issue-ID: MUSIC-269 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
2019-01-02Database issues with mdbc docker envRob Daugherty4-3/+5
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>
2018-12-20Remove netty dependency pulled in by music libraryTschaen, Brendan2-0/+12
Issue-ID: MUSIC-265 Change-Id: I04a403653db4bb989901a565cf64f85a0ed2239b Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-12-20Merge "Deprecated unused method. logged CREATE statement."Bharath Balasubramanian1-6/+24
2018-12-14Merge "Docker compose scripts for two mdbc sites"Bharath Balasubramanian12-2/+397
2018-12-13Deprecated unused method. logged CREATE statement.Vikram Potturi1-6/+24
Change-Id: I39155ef4e523fe4a643089eb26be388ca47aa4d2 Issue-ID: MUSIC-164 Signed-off-by: Vikram Potturi <vikramaditya.potturi@att.com>
2018-12-13Allow configurable database nameTschaen, Brendan2-2/+4
Change-Id: I967df28f2f5281e7eee6a03087a279cbbe9f6e3e Issue-ID: MUSIC-258 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-12-13Docker compose scripts for two mdbc sitesRob Daugherty12-2/+397
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>
2018-12-07Clean up ownership workTschaen, Brendan9-267/+224
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>
2018-12-05Merge "CreateNodeConfigurations never exits"Brendan Tschaen1-0/+1
2018-12-04CreateNodeConfigurations never exitsRob Daugherty1-0/+1
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>
2018-12-04MUSIC-224 Dockerize MdbcServerRob Daugherty15-0/+900
This is a single site installation, with a cassandra container, a mariadb container, and an mdbc-server container. To build the docker images, first build mdbc software normally, then use the 'docker' maven profile: mvn -P docker To bring up the environment: cd mdbc-packages/mdbc-docker/compose/one-site docker-compose up Change-Id: Ie48487fc6c7853b80017dfa45aff52801da52cf0 Issue-ID: MUSIC-224 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-12-03Set cause of Exceptions in MDBCArthur Martella9-57/+58
Change-Id: I9a692cc4763f0edecbac35f1494b74e64562ad4e Issue-ID: MUSIC-220 Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
2018-11-30Upgrade to MUSIC 3.2.1Rob Daugherty7-24/+61
Add license headers to new files Change-Id: I1a557dbafbd29ce457b545dbd1ca2bc0db62a085 Issue-ID: MUSIC-219 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-11-29ownership and relinquishEnrique Saurez21-2207/+3076
Change-Id: I625bd61adfac11febdb25b179efbc6134a276f12 Issue-ID: MUSIC-219 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
2018-11-26MySQL JUnit testTschaen, Brendan8-41/+120
and code cleanup, renaming variable for clarity, updating stale interfaces Change-Id: I766267c442b7b037b41fe9f2f33092a1c01669ca Issue-ID: MUSIC-205 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-20Replay operations into SQL DBTschaen, Brendan6-175/+257
Change-Id: Id90c311b701e27aebd53afbde9cab851fa17ce60 Issue-ID: MUSIC-166 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-20MusicSqlManager Removal, othe code refactorsTschaen, Brendan21-2106/+1636
MusicSqlManager not required in current setup Current code condensed and absorbed into MdbcConnection and MusicMixin Modify deprecated names "CassandraMixin" to "MusicMixin" Change-Id: If68f8937a385c19d901c56e5795ddc0acf45d399 Issue-ID: MUSIC-198 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-20Merge "TxDigest replay and code restructure"Bharath Balasubramanian31-1147/+810
2018-11-19Query processing with CalciteVikram Potturi56-0/+288
Change-Id: Id8ebbc48159810ca782081bb4f63071071c926dd Issue-ID: MUSIC-164 Signed-off-by: Vikram Potturi <vikramaditya.potturi@att.com>
2018-11-16TxDigest replay and code restructureTschaen, Brendan31-1147/+810
Spin off replay daemon in its own object Create musictxdaemon test Fix licensing issue MusicRow Info has database partition object Change-Id: I22117f8e9309fb5d8bc99ec35d4145e655f4e5a2 Issue-ID: MUSIC-166 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-14Remove unwanted Trigger creationst782s8-12/+28
Issue-ID: MUSIC-186 Change-Id: I81863e57912d72360676e7d38ed414da4c9e8b17 Signed-off-by: st782s <statta@research.att.com>
2018-11-06Self contain the unit testsTschaen, Brendan9-460/+78
Change-Id: Ib160116a075a1634f9d9cb6bf2527a010fc0e573 Issue-ID: MUSIC-177 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>