Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-11679 SyncConsistentHashFactory uneven segment distributions

    • -212
    • +396
    ./SyncConsistentHashFactory.java
    • -70
    • +66
    ./TopologyAwareSyncConsistentHashFactory.java
  1. … 10 more files in changeset.
ISPN-11366 Remove Deprecated ConsistentHash methods

    • -20
    • +5
    ./AbstractConsistentHashFactory.java
    • -19
    • +6
    ./DefaultConsistentHashFactory.java
    • -4
    • +3
    ./ReplicatedConsistentHashFactory.java
    • -27
    • +21
    ./SyncConsistentHashFactory.java
    • -7
    • +4
    ./SyncReplicatedConsistentHashFactory.java
    • -5
    • +4
    ./TopologyAwareSyncConsistentHashFactory.java
  1. … 60 more files in changeset.
ISPN-11266 Split CacheTopologyControlCommand into individual commands

  1. … 34 more files in changeset.
ISPN-10749 Invalidation mode needs a proper key partitioner

  1. … 3 more files in changeset.
ISPN-10018 Coarse-grained logging categories

* Add categories for CONFIG, PERSISTENCE, SECURITY, CONTAINER

* Send all messages with log level >= INFO to the above

    • -4
    • +3
    ./ReplicatedConsistentHashFactory.java
    • -10
    • +8
    ./ScatteredConsistentHashFactory.java
    • -4
    • +3
    ./SyncReplicatedConsistentHashFactory.java
  1. … 170 more files in changeset.
ISPN-10345 Remove jboss-marshalling dependency from commons and core.

Default user marshaller is now JavaSerializationMarshaller.

    • -2
    • +2
    ./ReplicatedConsistentHashFactory.java
  1. … 183 more files in changeset.
ISPN-8219 Remove configuration options deprecated in 9.0

  1. … 70 more files in changeset.
ISPN-10137 Make injected fields and methods package-private

  1. … 184 more files in changeset.
ISPN-9908 Cache startup failure with server hinting and insufficient segments

* Precompute maximum owned segments

* Round up the number of allowed primary segments

* Allow backup owners which don't have any primary segment

    • -19
    • +67
    ./SyncConsistentHashFactory.java
    • -40
    • +30
    ./TopologyAwareConsistentHashFactory.java
    • -35
    • +32
    ./TopologyAwareSyncConsistentHashFactory.java
  1. … 3 more files in changeset.
ISPN-9908 Cache startup failure with server hinting and insufficient segments

* Precompute maximum owned segments

* Round up the number of allowed primary segments

* Allow backup owners which don't have any primary segment

    • -19
    • +67
    ./SyncConsistentHashFactory.java
    • -40
    • +30
    ./TopologyAwareConsistentHashFactory.java
    • -35
    • +32
    ./TopologyAwareSyncConsistentHashFactory.java
  1. … 3 more files in changeset.
ISPN-9127 Component registry

Introduce BasicComponentRegistry, which handles dependency injection but

doesn't have any logic specific to caches or managers.

Each component has its own lifecycle status, and starting a component

also starts its dependencies. Components can start in parallel.

ComponentRegistry and GlobalComponentRegistry still need to maintain

their own lifecycle status, but it is now possible to start a cache

before all the global components have finished starting.

  1. … 245 more files in changeset.
ISPN-9293 Convert Set<Integer> places to IntSet where appropriate

  1. … 80 more files in changeset.
ISPN-9293 Convert Set<Integer> places to IntSet where appropriate

  1. … 80 more files in changeset.
ISPN-9242 Address refactorings brought up in segmented data container review

* Making all DataContainer instances segmented

* Update all references internally to use SegmentedDataContainer

* Removed SSC#UNKNOWN_SEGMENT

* CommandFactory require segment for commands

* Rename SegmentedDataContainer to InternalDataContainer

  1. … 107 more files in changeset.
ISPN-5451 Data Container Segment Striping

* Unbounded data container striping

    • -0
    • +26
    ./SingleSegmentKeyPartitioner.java
  1. … 142 more files in changeset.
ISPN-8905 Segment-aware non-shared cache stores

* Initial segmented store support

* Convert all non shared stores to support segmented

  1. … 95 more files in changeset.
ISPN-8543 Make the global configuration persistence pluggable

- Separate the persistence logic into a LocalConfigurationManager interface

- Provide a default EmbeddedLocalConfigurationManager

- Introduce a getOrCreateCache() method on the CacheContainerAdmin interface (ISPN-8627)

  1. … 37 more files in changeset.
ISPN-8515 Allow @Inject on fields

  1. … 185 more files in changeset.
ISPN-7776 Clustered configuration state

- Introduce a CacheContainerAdmin interface in commons

- Implement EmbeddedCacheContainerAdmin

- Amend RemoteCacheManagerAdmin to implement CacheContainerAdmin

- Use the new admin ops in the EmbeddedServerAdminOperationsHandler

  1. … 77 more files in changeset.
ISPN-7865 Distributed Stream thread usage for key aware operations can be improved

* Refactor distributed iterator communication to use reactive streams

* Refactor distributed to reuse non rehash for rehash

* Add in IntSet usage to avoid some boxing

  1. … 72 more files in changeset.
ISPN-8092 Scattered consistent hash may have no primary owner

* Relax the requirements in the ConsistentHash/ConsistentHashFactory

javadoc.

* Do not add owners to lost segments in

BaseControlledConsistentHashFactory.updateMembers.

  1. … 3 more files in changeset.
ISPN-7400 Cache segment ownership information in DistributionManager

Use DM.getCacheTopology() in all ClusteringDependentLogic

implementations, and use it directly where possible

    • -144
    • +16
    ./ReplicatedConsistentHash.java
  1. … 140 more files in changeset.
ISPN-6906 New marshaller w/ manual encoding

* Global marshaller now deals directly with all possible marshallable

types: null, primitives, internal externalizers, external

externalizers. If type does not fit into any of this, it's considered

unknown and pass to an external marshaller.

* Marshalling happens directly into a byte[] since that's the main

expected type by other layers, but this might change in the future as

off-heap and optimizations are done for other consumers.

* Simplified reading in CacheRpcCommandExternalizer to avoid wrapping

ObjectInput in an InputStream. Simply read of the given ObjectInput.

Same optimization has been applied at write time.

* Added null object handling in buffer size predictor since it makes

client code less complicated.

* Added white-list checking of classes that are expected to be

marshalled internally. This check is an assert and hence should not

be enabled at runtime.

* Deleted SharedStreammultimarshallertest since the use case is no

longer needed as a result of removing the separation between global

and cache marshaller (ISPN-6905).

* The new marshaller does not have an instance cache although one can be

provided for specific types by extending

InstanceReusingAdvancedExternalizer. As a result of not having a

default instance cache, when retrieving the entries to send as part of

the listener state, half of those entries come from a different node

when owners=1. With all these entries referencing GODZILLA byte[], the

old JBMAR marshaller was detecting a shared instance and reusing

it. The new marshaller does not do this by default and hence treats

each byte[] differently and the test blows.

* This circumstance is artificial and don't think it tends to happen in

real life, so the best option I found is to convert test to using

replicated caches and avoid the intra-cluster marshalling issue.

* Besides, this test's objective is not to stress the intra-cluster

marshalling layer, but how the client/server network layer handles big

object, which it remains intact.

* The external marshaller configurable.

* Removed ExternalizerTable

* Cleanup unusued internal externalizers

  1. … 32 more files in changeset.
Bunch of trivial JavaDoc/style fixes mostly around hotrod-client configuration

  1. … 5 more files in changeset.
ISPN-5683 Fix some checkstyle violations

* no empty statements

* no StringBufer usages

  1. … 23 more files in changeset.
ISPN-5683 Organized imports

    • -9
    • +9
    ./ReplicatedConsistentHashFactory.java
    • -10
    • +10
    ./SyncConsistentHashFactory.java
    • -7
    • +7
    ./SyncReplicatedConsistentHashFactory.java
    • -1
    • +1
    ./TopologyAwareConsistentHashFactory.java
    • -1
    • +1
    ./TopologyAwareSyncConsistentHashFactory.java
  1. … 2817 more files in changeset.
ISPN-6645 Scattered cache

Design doc in org/infinispan/scattered/package-info.java

    • -0
    • +220
    ./AbstractConsistentHash.java
    • -0
    • +121
    ./AbstractConsistentHashFactory.java
    • -103
    • +7
    ./DefaultConsistentHashFactory.java
    • -0
    • +305
    ./ScatteredConsistentHash.java
    • -0
    • +254
    ./ScatteredConsistentHashFactory.java
  1. … 219 more files in changeset.
Apply Java 8 syntax

  1. … 60 more files in changeset.
Use java 8 syntax

* also make some internall classes private

* fix checkstyle warnings regarding some imports

  1. … 63 more files in changeset.
Use java 8 syntax

* also make some internall classes private

* fix checkstyle warnings regarding some imports

  1. … 66 more files in changeset.