From 01da1495b54d3bd5aa8c095f58a8142fb92cfcd9 Mon Sep 17 00:00:00 2001 From: Liz Snyder Date: Tue, 16 Nov 2021 14:27:37 -0800 Subject: [PATCH 1/2] Add new replication settings Signed-off-by: Liz Snyder --- _replication-plugin/settings.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_replication-plugin/settings.md b/_replication-plugin/settings.md index b4815b44..6a4d78c1 100644 --- a/_replication-plugin/settings.md +++ b/_replication-plugin/settings.md @@ -31,4 +31,6 @@ Setting | Default | Description `plugins.replication.follower.concurrent_readers_per_shard` | 2 | The number of concurrent requests from the follower cluster per shard during the syncing phase of replication. `plugins.replication.autofollow.fetch_poll_interval` | 30s | How often auto-follow tasks poll the leader cluster for new matching indices. `plugins.replication.follower.metadata_sync_interval` | 60s | How often the follower cluster polls the leader cluster for updated index metadata. +`plugins.replication.translog.retention_lease.pruning.enabled` | TBD | If enabled, prunes the translog based on retention leases on the leader index. +`plugins.replication.translog.retention_size` | TBD | Controls the size of the translog on the leader index. From 63bfe4ec7a2c630add48c51b117f544d6884c099 Mon Sep 17 00:00:00 2001 From: Liz Snyder Date: Tue, 16 Nov 2021 20:32:04 -0800 Subject: [PATCH 2/2] Add defaults Signed-off-by: Liz Snyder --- _replication-plugin/settings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_replication-plugin/settings.md b/_replication-plugin/settings.md index 6a4d78c1..507255a6 100644 --- a/_replication-plugin/settings.md +++ b/_replication-plugin/settings.md @@ -31,6 +31,6 @@ Setting | Default | Description `plugins.replication.follower.concurrent_readers_per_shard` | 2 | The number of concurrent requests from the follower cluster per shard during the syncing phase of replication. `plugins.replication.autofollow.fetch_poll_interval` | 30s | How often auto-follow tasks poll the leader cluster for new matching indices. `plugins.replication.follower.metadata_sync_interval` | 60s | How often the follower cluster polls the leader cluster for updated index metadata. -`plugins.replication.translog.retention_lease.pruning.enabled` | TBD | If enabled, prunes the translog based on retention leases on the leader index. -`plugins.replication.translog.retention_size` | TBD | Controls the size of the translog on the leader index. +`plugins.replication.translog.retention_lease.pruning.enabled` | true | If enabled, prunes the translog based on retention leases on the leader index. +`plugins.replication.translog.retention_size` | 512MB | Controls the size of the translog on the leader index.