Clone Tools
  • last updated 23 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
MODE-2737: extend index rebuilding sleeps to avoid frequent test failures on some hardware

MODE-2735: improper formatting of full text search query constraints with other than literal RHS

  1. … 2 more files in changeset.
MODE-2734: cannot parse query bind variable names containing arguably esoteric but valid characters

  1. … 1 more file in changeset.
Delete thunderbird-addressbook.mab

Implement tag-based marking of (un)used property in S3BinaryStore

  1. … 1 more file in changeset.
Add S3 metadata to distinguish "application/octet-stream" from user-defined MIME type

  1. … 1 more file in changeset.
MODE-2685 Fixes ClassCastException when reordering transient child nodes

    • -0
    • +27
    ./java/org/modeshape/jcr/JcrNodeTest.java
  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

  1. … 17 more files in changeset.
MODE-2682 Fixes async unit tests for enumerated indexes

MODE-2682 Fixes the performance issues with the LocalEnumeratedIndex This change first makes sure that the total index count is calculated in memory and also uses the MapDB internal counter for the inner hash sets

  1. … 2 more files in changeset.
MODE-2679 Fixes case insensitive comparisons done via the TokenStream This affects node types and any other places where the aforementioned class is used

  1. … 6 more files in changeset.
MODE-2678 Changes the DatabaseBinaryStore to use transactions instead of auto-committed connections It also fixes the case of multiple cluster nodes inserting the same binary simultaneously in the database.

  1. … 1 more file in changeset.
MODE-2672 Adds exception handling for the case when multiple cluster nodes attempt to concurrently lock a node

  1. … 2 more files in changeset.
MODE-2676 Fixes the removal of version histories when multi-version graphs exist

  1. … 3 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. … 9 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. … 11 more files in changeset.
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.

    • -3
    • +13
    ./java/org/modeshape/jcr/TestingUtil.java
    • -0
    • +20
    ./resources/config/repo-config-db-txn.json
  1. … 15 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-2666 Fixes the issue of the Comparators used for MapDB storage not being Serializable This commit also makes sure that when ORDER BY is used with the same column multiple times, only one occurrence is present in the query plan

  1. … 2 more files in changeset.
MODE-2658 Fixes the sequencing's behavior of removing existing output when the same node is sequenced multiple times

    • -0
    • +4
    ./resources/sequencer/cnd/repo-config.json
  1. … 2 more files in changeset.
MODE-2654 Fixes the behavior of copying locked nodes As per JCR #17.7 locked nodes should be copied without any special restriction

  1. … 3 more files in changeset.
MODE-2650 Adds the ability to update the connector configuration of a running repository

  1. … 3 more files in changeset.
MODE-2641 Changes the behavior of lock#getSecondsRemaining() to return the actual number of seconds for open scoped locks

  1. … 1 more file 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

    • -0
    • +17
    ./resources/config/mongo-binary-storage-full-config.json
  1. … 11 more files in changeset.
MODE-2642 Removes the RepositoryFeaturesDetector optimization for #isCheckedOut and #isLocked This was introduced as part of https://issues.jboss.org/browse/MODE-2277 to optimize the read access of the node#isCheckedOut method, but the entire concept is flawed when user transactions are used. User transactions are isolated from the repository and do not trigger any notifications until the transaction is committed.

  1. … 4 more files in changeset.
MODE-2644 Fixes the reloading of index definitions so that dynamic definitions are activated after a restart

  1. … 2 more files in changeset.
MODE-2637 : NullPointerException in IndexChangeAdapter after copying nodes in the workspace

    • -0
    • +18
    ./resources/config/repo-config-local-provider-and-nodetype-index.json
  1. … 1 more file in changeset.
Backport MODE-2611 fix to 4.6.2

MODE-2611 Fixes the duplicate export of repository metadata in the backup file

    • -0
    • +15
    ./java/org/modeshape/jcr/TestingUtil.java
  1. … 1 more file in changeset.