[BUG] Not able to change translog related replication settings.
dewsingh opened this issue · 7 comments
What is the bug?
Not able to change translog related replication settings plugins.replication.translog.retention_lease.pruning.enabled and plugins.replication.translog.retention_size
How can one reproduce the bug?
Steps to reproduce the behavior:
- Install OpenSearch leader and follower clusters with cross cluster replication plugin enabled and configured.
- Verify the replication is working and the follower is able to replicate from leader cluster.
- Try changing the plugins.replication.translog.retention_size replication setting.
- Below error is observed.
curl -u admin:xxx -XPUT -k "https://opensearch.xxx:9200/_cluster/settings" -H 'Content-Type: application/json' -d '
{
"persistent": {
"plugins.replication.translog.retention_size": "256mb"
}
}'
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"persistent setting [plugins.replication.translog.retention_size], not recognized"}],"type":"illegal_argument_exception","reason":"persistent setting [plugins.replication.translog.retention_size], not recognized"},"status":400}
What is the expected behavior?
Retention size of the translog should be changed.
What is your host/environment?
- Version - 2.12.0.0
@bharath-techie , here is the output
From the leader cluster
curl -u admin:xxxx -XGET -k "https://opensearch.xxxx:9200/_cat/plugins?v"
name component version
ifd-leader-client-6bcd6dc768-vd6nl ingest-attachment 2.12.0
ifd-leader-client-6bcd6dc768-vd6nl opensearch-cross-cluster-replication 2.12.0.0
ifd-leader-client-6bcd6dc768-vd6nl opensearch-custom-codecs 2.12.0.0
ifd-leader-client-6bcd6dc768-vd6nl opensearch-index-management 2.12.0.0
ifd-leader-client-6bcd6dc768-vd6nl opensearch-job-scheduler 2.12.0.0
ifd-leader-client-6bcd6dc768-vd6nl opensearch-reports-scheduler 2.12.0.0
ifd-leader-client-6bcd6dc768-vd6nl opensearch-security 2.12.0.0
ifd-leader-client-6bcd6dc768-vd6nl prometheus-exporter 2.12.0.0
ifd-leader-manager-0 ingest-attachment 2.12.0
ifd-leader-manager-0 opensearch-cross-cluster-replication 2.12.0.0
ifd-leader-manager-0 opensearch-custom-codecs 2.12.0.0
ifd-leader-manager-0 opensearch-index-management 2.12.0.0
ifd-leader-manager-0 opensearch-job-scheduler 2.12.0.0
ifd-leader-manager-0 opensearch-reports-scheduler 2.12.0.0
ifd-leader-manager-0 opensearch-security 2.12.0.0
ifd-leader-manager-0 prometheus-exporter 2.12.0.0
ifd-leader-data-0 ingest-attachment 2.12.0
ifd-leader-data-0 opensearch-cross-cluster-replication 2.12.0.0
ifd-leader-data-0 opensearch-custom-codecs 2.12.0.0
ifd-leader-data-0 opensearch-index-management 2.12.0.0
ifd-leader-data-0 opensearch-job-scheduler 2.12.0.0
ifd-leader-data-0 opensearch-reports-scheduler 2.12.0.0
ifd-leader-data-0 opensearch-security 2.12.0.0
ifd-leader-data-0 prometheus-exporter 2.12.0.0
From follower cluster
curl -u admin:xxxx -XGET -k "https://opensearch.xxxx:9200/_cat/plugins?v"
name component version
ifd-follower-manager-0 ingest-attachment 2.12.0
ifd-follower-manager-0 opensearch-cross-cluster-replication 2.12.0.0
ifd-follower-manager-0 opensearch-custom-codecs 2.12.0.0
ifd-follower-manager-0 opensearch-index-management 2.12.0.0
ifd-follower-manager-0 opensearch-job-scheduler 2.12.0.0
ifd-follower-manager-0 opensearch-reports-scheduler 2.12.0.0
ifd-follower-manager-0 opensearch-security 2.12.0.0
ifd-follower-manager-0 prometheus-exporter 2.12.0.0
ifd-follower-client-7c468c8cfc-cxfhz ingest-attachment 2.12.0
ifd-follower-client-7c468c8cfc-cxfhz opensearch-cross-cluster-replication 2.12.0.0
ifd-follower-client-7c468c8cfc-cxfhz opensearch-custom-codecs 2.12.0.0
ifd-follower-client-7c468c8cfc-cxfhz opensearch-index-management 2.12.0.0
ifd-follower-client-7c468c8cfc-cxfhz opensearch-job-scheduler 2.12.0.0
ifd-follower-client-7c468c8cfc-cxfhz opensearch-reports-scheduler 2.12.0.0
ifd-follower-client-7c468c8cfc-cxfhz opensearch-security 2.12.0.0
ifd-follower-client-7c468c8cfc-cxfhz prometheus-exporter 2.12.0.0
ifd-follower-data-0 ingest-attachment 2.12.0
ifd-follower-data-0 opensearch-cross-cluster-replication 2.12.0.0
ifd-follower-data-0 opensearch-custom-codecs 2.12.0.0
ifd-follower-data-0 opensearch-index-management 2.12.0.0
ifd-follower-data-0 opensearch-job-scheduler 2.12.0.0
ifd-follower-data-0 opensearch-reports-scheduler 2.12.0.0
ifd-follower-data-0 opensearch-security 2.12.0.0
ifd-follower-data-0 prometheus-exporter 2.12.0.0