If the primary shard and the replica share the same data files, and make the copy read-only. What is the best way to use ?
I found that the engine was initialized based on the index level when the node started. Whether the read-only engine can be used for the replica in IndexShard, and the engine initialized at node startup can be discarded?
Are there any other risks besides data loss?
I just want the replica to be read-only.