modeshape-persistence-relational

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[TEIIDTOOLS-544] modeshape changes to disable docker testing by default (#1682)

* [TEIIDTOOLS-544] modeshape changes to disable docker testing by default

  1. … 2 more files in changeset.
XOUTW-1010 DB2 Support (cherry picked from commit 3dc6b28)

'Release: update versions for modeshape-5.4.1.Final'

  1. … 70 more files in changeset.
Changed the POMs to 5.5-SNAPSHOT

  1. … 71 more files in changeset.
'Release: update versions for modeshape-5.4.0.Final'

  1. … 70 more files in changeset.
MODE-2674 Adds the ability to pass custom Hikari configuration options to the relational db provider It configures the "minimumIdle" property to a default of 1, meaning only 1 idle connection should be in the pool at any time. It changes the structure of the WF kit by removing the custom Hikari module (which had just 1 resource) and moving that dependency inside the persistence-relational module. It also updates the Hikari version to 2.6.1.

    • -0
    • +19
    ./src/test/resources/db-config-custom-props.json
  1. … 16 more files in changeset.
MODE-2672 Fixes the handling of node removals spanning multiple session saves via the same user transaction The problem was that the RelationalDb was incorrectly sending back a "dummy" document which had no ID causing subsequent failures. This commit contains an additional (unrelated) change which clears the internal JcrSession state after a successful save or refresh. This should ensure better memory handling as it does not keep "hydrated" JCR node references in the internal cache

  1. … 8 more files in changeset.
MODE-2673: add missing argument to [threadAssociatedWithAnotherTransaction] i18n key.

MODE-2670 Changes the implementation of the internal repository locking The new lock implementation uses a bare-bone AbstractQueuedSynchronizer implementation because in ModeShape's case locks have to be able to be unlocked from other threads than the owning threads (transaction rollbacks). The previous ReentrantLock implementation would obviously not work.

This commit also changes the way the persistence stores deal with transactions: instead of holding onto the "current" transaction via a ThreadLocal variable, they will now rely on their internal mapping of tx ids. This is provided by ModeShape for each transaction. Therefore, thread-locality is no longer an issue.

The commit further changes some of the ways in which internal transactions are used during repository startup, making sure some operations are grouped and some - the preconfigured workspaces - are created up-front within a single transaction.

  1. … 15 more files in changeset.
MODE-2669 Makes sure that RelationalDb correctly cleans up resources for commit and rollback This change makes sure that even if commit or rollback are called from a separate thread than txStarted, the cleanup logic is still performed

  1. … 1 more file in changeset.
MODE-2664 Fixes various issues with SQLServer support The fixes include: * making sure CREATE and DROP table statements correctly detect existing objects * using correct syntax for DB locking * using the correct binary type for storing schematic documents

  1. … 2 more files in changeset.
Updates the POM versions to 5.4-SNAPSHOT

  1. … 70 more files in changeset.
'Release: update versions for modeshape-5.3.0.Final'

  1. … 70 more files in changeset.
Updates the POM version to 5.3-SNAPSHOT and fixes a minor test issue with the CMIS connector

  1. … 71 more files in changeset.
'Release: update versions for modeshape-5.2.0.Final'

  1. … 70 more files in changeset.
MODE-2629 Fixes the issue with too many parameters for the IN clause This commit changes the queries that get sent down to the DB so that when the number of parameters exceeds a certain limit, the IN clause gets broken down into multiple IN OR IN clauses. It also adds Docker support for the modeshape-persistence-relational module so that low level DB operations can be tested against different DBs.

  1. … 5 more files in changeset.
MODE-2623 Fixes the loading of documents from the persistent store after exclusive locks are obtained The previous code always loaded a fresh copy of the latest persisted (i.e. successfully committed) information and did not take into account the fact that a user transaction might span multiple workspace cache usages. This is particularly evident when dealing with the jcr:system area and SystemContent in general, via multiple session.save() calls coming from different API methods.

  1. … 5 more files in changeset.
MODE-2077 Adds the ability to use DB locking to the WF kit

  1. … 13 more files in changeset.
MODE-2077 Adds the ability to use DB locking via SELECT FOR UPDATE instead of JGroups locking

  1. … 16 more files in changeset.
MODE-2613: Modeshape persistence test module

  1. … 22 more files in changeset.
Updates the version number to 5.2-SNAPSHOT

  1. … 69 more files in changeset.
'Release: update versions for modeshape-5.1.0.Final'

  1. … 69 more files in changeset.
MODE-2591 Changes the name of the datasource JNDI attribute for the DB persistence This should now match the other DS JNDI names used by the database binary store and JDBC metadata connector

  1. … 12 more files in changeset.
MODE-2592 Fixes the DEBUG logging issues for Oracle

  1. … 1 more file in changeset.
Changed artifacts version to 5.1-SNAPSHOT

  1. … 64 more files in changeset.
'Release: update versions for modeshape-5.0.0.Final'

  1. … 64 more files in changeset.
MODE-2587 Updates backup and restore to perform the two operations in batches This should fix any memory issues caused by the previous implementation, where everything was loaded and written to in one big batch.

  1. … 12 more files in changeset.
MODE-2546,MODE-2569 Fixes several locking and concurrency issues The previous exclusive locking logic relied on ReentrantLock.hasQueuedThreads which is not reliable and correct. Also, the FileDB code did not correctly use the MapDB tx API causing various corruption issues in multi-threaded cases. This commit also refactors most of the clustering tests trying to minimize the number of cluster services stopped/started with each test since these operations take a lot of time.

  1. … 29 more files in changeset.
MODE-2569 Adds file-persistence to the Wildfly kit This also changes the way the kit integration tests are run so that the actual WF xml configuration files from the kit are used instead of local test-copies.

  1. … 40 more files in changeset.
MODE-2528 Refactors the relational-persistence-provider to provide better support for different types of DBs This also changes the default serialization format to Bson bytes from Json strings, which are very fast to write but slower to read.

  1. … 9 more files in changeset.