In ReaderStrategies, ensure that the reader is current AND that the directory returned by the DirectoryProvider are the same

Description

When using the cluster mode, s slave has an active copy (current) and a passive copy of a Directory.
In ReaderStrategy, we ensure the IndexReader is current but we do not ensure the Directory is the active one.

Environment

None

Status

Assignee

Hardy Ferentschik

Reporter

Emmanuel Bernard

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Fix versions

Affects versions

3.1.0.Beta1

Priority

Critical