Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MODE-2685 Fixes ClassCastException when reordering transient child nodes

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

  1. … 19 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. … 5 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. … 1 more file in changeset.
MODE-2620: Improve clean up procedure DB between tests.

MODE-2620: Handle transaction failures to prevent data lost and corruption. Improve DB clean between test cases.

    • -196
    • +134
    ./WritableSessionCache.java
  1. … 8 more files in changeset.
Revert "MODE-2620: Method node.getParent() throws NullPointerException"

  1. … 3 more files in changeset.
Merge pull request #1595 from okulikov/MODE-2620

MODE-2620: Method node.getParent() throws NullPointerException

MODE-2620: - Make create projection operation atomic; - Improve handling for transaction failures.

  1. … 3 more files in changeset.
MODE-2627 Fixes additional transactional issues around the workspace cache Each workspace cache should be cleared individually when a transaction commits. The previous code only cleared the first ws cache which registered a transaction synchronization

  1. … 1 more file 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-2510 Fixes various issues around SNS reordering, including keeping [jcr:path] indexes up-to-date in such cases

  1. … 8 more files in changeset.
MODE-2610 Fixes another transactional issue The bug was caused by the fact that not all the nodes were refreshed from the document store (i.e. the latest persisted version) on successive session.save() calls made from the same ongoing transaction

    • -39
    • +37
    ./TransactionalWorkspaceCaches.java
  1. … 1 more file in changeset.
MODE-2607 Fixes incorrect behaviour when using user transactions The bug was caused by the fact that the transactional ws cache was being cleared after each session.save() call, even if the user transaction might still not have been committed. This meant that subsequent session.save() calls could get/see transient changes as the "latest persisted information".

  1. … 1 more file in changeset.
MODE-2596 Fixes the concurrent initialization of the same workspace cache with user transactions The problem in this particular case was the fact that a user transaction off a certain thread might not have been committed while another thread was seeing the ws cache as already initialized. The solution was to make sure ws cache initialization takes place inside local transactions by suspending/resuming any potential outside transactions.

  1. … 8 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. … 13 more files in changeset.
MODE-2580 Removes the optimization added for MODE-1856 which caused erroneous PROPERTY_CHANGED_EVENTS

  1. … 1 more file in changeset.
MODE-2528 Optimizes some of the RelationalDB provider logic to bulk load nodes after locking It also adds a way to track new nodes per transaction in order to avoid unnecessary DB hits

  1. … 24 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.

    • -104
    • +109
    ./WritableSessionCache.java
  1. … 297 more files in changeset.
MODE-2528 Adds SchematicDb implementation which stores data in relational databases.

  1. … 42 more files in changeset.
MODE-2527 Renames the schematic package to org.modeshape and removes all ISPN related code.

  1. … 305 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. … 47 more files in changeset.
MODE-2560 Fixes the behavior of copying versionable nodes

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

  1. … 6 more files in changeset.
MODE-2558 Updates some of the TRACE and DEBUG level logging used for transactions and 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.
MODE-2546 Adds the ability to configure the lock timeout This also changes the previous implementation of the StandaloneLockingService and adds some more tests.

  1. … 22 more files in changeset.