Added check for read-only indices in ESv6

Change-Id: I25a9e33497d5cc6205c269ba8cc0db427827486f
Related-Bug: PROD-26666
4 files changed