GH-2207: Clarify RedisMetadataStore in cluster

Resolves: spring-projects/spring-integration#2207

* Since the `WATCH` command isn't supported on clustered connections,
the `RedisMetadataStore.replace()` operation can't be used there.
Document this limitation
This commit is contained in:
Artem Bilan
2017-11-07 15:59:54 -05:00
committed by Gary Russell
parent 6891d5a2e2
commit a61327766e
2 changed files with 10 additions and 3 deletions

View File

@@ -418,6 +418,8 @@ By default this `key` has the value `MetaData`.
Starting with _version 4.0_, this store now implements `ConcurrentMetadataStore`, allowing it to be reliably shared across multiple application instances where only one instance will be allowed to store or modify a key's value.
IMPORTANT: The `RedisMetadataStore.replace()` (for example in the `AbstractPersistentAcceptOnceFileListFilter`) can't be used with a Redis cluster since the `WATCH` command for atomicity is not currently supported.
[[redis-store-inbound-channel-adapter]]
=== RedisStore Inbound Channel Adapter