Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
add deleteUnusedNatively to repository configuration json schema

MODE-2698: retain brute-force unused object removal as default when lifecycle-based removal is not enabled by deleteUnusedNatively repository configuration property. In all cases use tags rather than metadata to store unused status, and provide an upgrade function to migrate this information from metadata to tag. Additionally try and increase performance of original unused removal code by using parallel (spl)iteration.

  1. … 6 more files in changeset.
Support using profile-based credentials for S3 binary storage

  1. … 5 more files in changeset.
Fix typos in ModeShape schemas

  1. … 1 more file in changeset.
MODE-2684 Removes the compile time dependency of modeshape-core towards Apache Tika The mime type extraction functionality will still function as-is if Tika is present, but now there is also an independent extension-based default which will be used if Tika is not present in the CP at runtime

    • -0
    • +766
    ./jcr/mimetype/mimetypes.properties
  1. … 23 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.

  1. … 20 more files in changeset.
MODE-2670 Changes the logic of initializing in a cluster, removing redundant locking This commit also changes the default locking method in a cluster to be DB locking, which is far more reliable than JGroups. That latter has been deprecated (code wise) and will be removed in the next major version.

  1. … 13 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. … 3 more files in changeset.
MODE-2668 Fixes the handling of JCR operations within non-active user transactions Any JCR session operation attempted within a non active user transaction will raise an exception and will leave the transient state of the session unchanged (as per the docs of the session.save method)

  1. … 7 more files in changeset.
MODE-2532, MODE-2532 Added S3 endpoint support

Added changes to:

-Added additional overloaded constructor to take 'endpoint' as an parameter

-Updated schema file to support this additional parameter (as optional to keep backward compatibility).

-Repository config files so it uses endpoint

{

"name": "Test Repository",

"storage": {

"binaryStorage": {

"type": "s3",

"username": "access_key",

"password": "secrey",

"bucketName": "modeshape_bucket",

"endPoint": "https://some3scompatiblestorage"

}

}

}

  1. … 10 more files in changeset.
MODE-2635 Makes the host and port configurations optional so that they can be used interchangeably with host addresses

  1. … 3 more files in changeset.
MODE-2635 Adds replica set support for the Mongo binary store to the JSON and WF configs

  1. … 13 more files in changeset.
MODE-1446 Adds BinaryStorage option for Amazon S3

    • -0
    • +45
    ./jcr/repository-config-schema.json
  1. … 22 more files in changeset.
MODE-2077 Adds the ability to use DB locking via SELECT FOR UPDATE instead of JGroups locking

  1. … 24 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-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. … 14 more files in changeset.
MODE-2574, MODE-2575 Adds configuration support for the Cassandra and MongoDB binary stores The support is added both in the JSON and the Wildfly kit, based on the current code (i.e. in terms of configuration options). This also fixes a number of other JBoss AS kit issues, exposed by the enhancement of the JBoss AS subsystem tests.

    • -0
    • +88
    ./jcr/repository-config-schema.json
  1. … 37 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-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. … 21 more files in changeset.
MODE-2569 Adds a file and in-memory persistence provider based on H2's MVStore. Changes most of the unit tests to use the new provider.

  1. … 62 more files in changeset.
MODE-2528, MODE-2558 Integrates the new relational provider with the Wildfly kit Also, it fixes some of the SchematicDB caching and locking logic, to avoid certain cases when data read before locking could be stale and therefore cause overall corruption by overwriting previous updates.

  1. … 80 more files in changeset.
MODE-2528 Integrates the new relational provider with the modeshape codebase This is a huge commit which makes the necessary changes to remove all Infinispan configuration and dependencies, replacing it with the new mechanism. It also contains several changes to the relational provider design because of various failing tests. This includes among other thing the necessity for ModeShape to notify the provider once exclusive locks have been obtained as part of each transaction.

    • -0
    • +8
    ./jcr/default-persistence-config.json
    • -41
    • +74
    ./jcr/repository-config-schema.json
  1. … 302 more files in changeset.
MODE-2528 Removes any ISPN specific SPI from the SchematicDB and LocalDocumentStore. Makes some changes to transactions processing, preparing for non ISPN storage.

  1. … 50 more files in changeset.
MODE-2560 Fixes the behavior of copying versionable nodes

  1. … 7 more files in changeset.
MODE-2560 Fixes the behavior of copying versionable nodes

  1. … 7 more files in changeset.
MODE-2556 Adds the ability to enable/disable the journal from the JSON/WF configuration

  1. … 11 more files in changeset.
MODE-2556 Adds the ability to enable/disable the journal from the JSON/WF configuration

  1. … 11 more files in changeset.
Merge pull request #1496 from hchiorean/MODE-2546

MODE-2546 Implements repository level locking

  1. … 1 more file in changeset.
MODE-2450 Fixes the handling of corrupted locks from the jcr:system area which are still being referenced by the parent node

  1. … 5 more files in changeset.
MODE-2450 Fixes the handling of corrupted locks from the jcr:system area which are still being referenced by the parent node

  1. … 5 more files in changeset.