Jira Data Center Index Replication Latency During High-Concurrency Writes
0 reputation · 06 Apr 2023, 03:42 UTC
0 reputation · 06 Apr 2023, 03:42 UTC
A Jira Data Center cluster uses a shared home directory with index replication enabled to keep search indexes consistent across nodes. Background indexing is active to avoid blocking user operations during re-indexing.
Achieve predictable search result parity across all cluster nodes immediately after a high-volume batch of issue updates, such as a bulk transition or import operation.
The documentation describes index replication as asynchronous but does not specify the maximum replication lag under sustained write throughput. JVM heap sizing for the Lucene index writer is configured per node, yet the interaction between local flush intervals and the replication protocol during concurrent writes remains undefined. It is unclear whether the replication mechanism guarantees eventual consistency within a bounded time window or if certain write patterns can cause indefinite divergence.
index.replication.max.lag) that control failover behavior when replication lag exceeds a defined limit?30775 reputation · 06 Apr 2023, 06:39 UTC
index.replication.max.lag. Lag is managed internally, and a node that consistently lags may be taken out of the cluster, but the threshold is not exposed to administrators.
com.atlassian.jira:type=IndexReplication) and the REST endpoint /index/replication.ReplicationLag attribute before, during, and after a controlled bulk update.https://node/rest/api/2/index/replication for live lag data.java.lang:type=Memory MBeans to ensure the primary node does not hit OutOfMemoryError or high GC pause times.-Xms and -Xmx if necessary.Could you specify the number of nodes in your cluster and the average write latency of your network/storage subsystem? This information would help refine the expected replication lag and recommend precise JVM heap sizing.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.