[HELIX-552] StateModelFactory#_stateModelMap should use both resourceName and partiti...
authorzzhang <zzhang@apache.org>
Wed, 19 Nov 2014 19:31:01 +0000 (11:31 -0800)
committerzzhang <zzhang@apache.org>
Wed, 19 Nov 2014 19:31:01 +0000 (11:31 -0800)
commit9ddd0af347037f585a52b83bbc3a6b11a3934c82
tree468711c1461a32eea2da402619cde5c7d475d804
parent45a9fd3a960f6bb7b32c3135fb692ab23e8dc5a7
[HELIX-552] StateModelFactory#_stateModelMap should use both resourceName and partitionKey to map a state model, rb=28211
35 files changed:
helix-agent/src/main/java/org/apache/helix/agent/AgentStateModelFactory.java
helix-core/src/main/java/org/apache/helix/PropertyKey.java
helix-core/src/main/java/org/apache/helix/examples/BootstrapHandler.java
helix-core/src/main/java/org/apache/helix/examples/DummyParticipant.java
helix-core/src/main/java/org/apache/helix/examples/LeaderStandbyStateModelFactory.java
helix-core/src/main/java/org/apache/helix/examples/MasterSlaveStateModelFactory.java
helix-core/src/main/java/org/apache/helix/examples/OnlineOfflineStateModelFactory.java
helix-core/src/main/java/org/apache/helix/messaging/handling/HelixStateTransitionHandler.java
helix-core/src/main/java/org/apache/helix/participant/DistClusterControllerStateModelFactory.java
helix-core/src/main/java/org/apache/helix/participant/GenericLeaderStandbyStateModelFactory.java
helix-core/src/main/java/org/apache/helix/participant/HelixStateMachineEngine.java
helix-core/src/main/java/org/apache/helix/participant/statemachine/ScheduledTaskStateModel.java
helix-core/src/main/java/org/apache/helix/participant/statemachine/ScheduledTaskStateModelFactory.java
helix-core/src/main/java/org/apache/helix/participant/statemachine/StateModelFactory.java
helix-core/src/main/java/org/apache/helix/task/TaskStateModelFactory.java
helix-core/src/test/java/org/apache/helix/TestHelixTaskExecutor.java
helix-core/src/test/java/org/apache/helix/TestHelixTaskHandler.java
helix-core/src/test/java/org/apache/helix/integration/TestCorrectnessOnConnectivityLoss.java
helix-core/src/test/java/org/apache/helix/integration/TestEntropyFreeNodeBounce.java
helix-core/src/test/java/org/apache/helix/integration/TestMessageThrottle2.java
helix-core/src/test/java/org/apache/helix/integration/TestPartitionLevelTransitionConstraint.java
helix-core/src/test/java/org/apache/helix/integration/TestPreferenceListAsQueue.java
helix-core/src/test/java/org/apache/helix/integration/TestResourceWithSamePartitionKey.java [new file with mode: 0644]
helix-core/src/test/java/org/apache/helix/integration/TestStateTransitionTimeout.java
helix-core/src/test/java/org/apache/helix/integration/TestZkReconnect.java
helix-core/src/test/java/org/apache/helix/integration/manager/TestStateModelLeak.java
helix-core/src/test/java/org/apache/helix/mock/participant/DummyProcess.java
helix-core/src/test/java/org/apache/helix/mock/participant/MockBootstrapModelFactory.java
helix-core/src/test/java/org/apache/helix/mock/participant/MockMSModelFactory.java
helix-core/src/test/java/org/apache/helix/mock/participant/MockSchemataModelFactory.java
helix-core/src/test/java/org/apache/helix/participant/TestDistControllerStateModelFactory.java
recipes/distributed-lock-manager/src/main/java/org/apache/helix/lockmanager/LockFactory.java
recipes/rabbitmq-consumer-group/src/main/java/org/apache/helix/recipes/rabbitmq/ConsumerStateModelFactory.java
recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/FileStoreStateModelFactory.java
recipes/task-execution/src/main/java/org/apache/helix/taskexecution/TaskStateModelFactory.java