Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MODE-2739: ModeShape unnecessarily forces all BinaryStore implementations to extend its AbstractBinaryStore

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.

    • -61
    • +179
    ./org/modeshape/jcr/value/binary/S3BinaryStore.java
  1. … 3 more files in changeset.
MODE-2720: Lucene index provider does not correctly handle LIKE constraints containing a backslash

    • -2
    • +24
    ./org/modeshape/jcr/query/engine/QueryUtil.java
  1. … 1 more file in changeset.
Added javadoc

MODE-2707

  1. … 1 more file in changeset.
MODE-2735: improper formatting of full text search query constraints with other than literal RHS

    • -1
    • +3
    ./org/modeshape/jcr/query/model/Visitors.java
  1. … 1 more file in changeset.
MODE-2734: cannot parse query bind variable names containing arguably esoteric but valid characters

  1. … 1 more file in changeset.
MODE-2733: allow to obtain rows for outer join queries with missing nodes

parameterized type assignability; eliminate duplicate code

    • -3
    • +2
    ./org/modeshape/jcr/JcrNodeTypeIterator.java
MODE-2731 - Support fully-qualified pseudocolumn names in JCR queries

    • -8
    • +11
    ./org/modeshape/jcr/query/JcrQueryResult.java
Fix parallel uploading in Amazon S3

Binary value must be marked as "used" (unused=false) when storing in fileSystemCache (no matter what is value of "markAsUnused"). In following case it can be crucial:

If couple of threads are trying to add different files in same S3BinaryStore at same time, they will store files in the same fileSystemCache, and when some thread finish, it will delete all files marked as unused from cache (that will be all files stored in cache from another threads), and exception:

org.modeshape.jcr.value.binary.BinaryStoreException: Unable to find binary value with key "78ed7457b289ba42ff67256f33a88b5bf0ca3012" within binary store at "/tmp/modeshape-binary-store"

at org.modeshape.jcr.value.binary.S3BinaryStore.storeValue(S3BinaryStore.java:251)

at org.modeshape.jcr.value.binary.BinaryStoreValueFactory.create(BinaryStoreValueFactory.java:244)

... 164 more

will be thrown in all other threads (with different SHA-1).

Support importing with a binary store hint

    • -2
    • +3
    ./org/modeshape/jcr/JcrContentHandler.java
    • -3
    • +43
    ./org/modeshape/jcr/JcrSession.java
    • -0
    • +38
    ./org/modeshape/jcr/JcrValueFactoryWithHint.java
  1. … 1 more file in changeset.
Implement tag-based marking of (un)used property in S3BinaryStore

    • -40
    • +57
    ./org/modeshape/jcr/value/binary/S3BinaryStore.java
  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.
Close input streams passed to TikaNameOnlyDetector.detect()

Support using profile-based credentials for S3 binary storage

    • -11
    • +20
    ./org/modeshape/jcr/value/binary/S3BinaryStore.java
  1. … 4 more files in changeset.
Merge pull request #1655 from dalbani/patch-3

[MODE-2691] Set min size of S3BinaryStore's file system cache to 0

Set min size of S3BinaryStore's file system cache to 0

[MODE-2690] Set content length in ObjectMetadata for S3 uploads

MODE-2685 Fixes ClassCastException when reordering transient child nodes

  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
    • +75
    ./org/modeshape/jcr/mimetype/DefaultMimeTypeDetector.java
  1. … 15 more files in changeset.
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-2681 Fixes the updating of the counter for the local duplicate index This change should make the logic fault-tolerant when the index is stopped unexpectedly

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
    • +19
    ./org/modeshape/jcr/JcrRepository.java
  1. … 5 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
    • +4
    ./org/modeshape/jcr/RepositoryLockManager.java
  1. … 1 more file in changeset.
MODE-2677 Fixes the logic of the loadAll method to make sure the size of the first non-empty batch is returned

MODE-2676 Fixes the removal of version histories when multi-version graphs exist

    • -0
    • +12
    ./org/modeshape/jcr/JcrVersionManager.java
  1. … 2 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
    • +19
    ./org/modeshape/jcr/AbstractJcrNode.java
    • -6
    • +12
    ./org/modeshape/jcr/JcrSession.java
    • -8
    • +6
    ./org/modeshape/jcr/JcrSharedNodeCache.java
    • -1
    • +1
    ./org/modeshape/jcr/JcrVersionHistoryNode.java
  1. … 5 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.

    • -6
    • +6
    ./org/modeshape/jcr/JcrRepository.java
    • -78
    • +74
    ./org/modeshape/jcr/cache/RepositoryCache.java
  1. … 10 more files in changeset.
MODE-2671 Fixes potential DB connection leak if a binary value is not found in a DB binary store

    • -4
    • +15
    ./org/modeshape/jcr/value/binary/Database.java