-
Bug
-
Resolution: Fixed
-
Low
-
7.6.15, 7.13.9, 8.5.2
-
7.06
-
9
-
Severity 2 - Major
-
4
-
Summary
JIRA Datacenter will automatically keep all the copies of the index up to date automatically. This synchronisation is not fully synchronous, but aims for eventual consistency. This means that there is some delay before index changes are seen on other nodes in the cluster.
Each indexing operation writes a row to the database table replicatedindexoperation. All of the nodes then look for entries in this table that were inserted by nodes other than themselves. They then apply the changes to their local Lucene index by recollecting the CF values and recreating Lucene document.
see Lucene Index Synchronization in Jira Data Center for more details.
In some cases, DC index replication takes longer due to the high volume of changes and expensive Custom Field computations. This causes the replication queue to grow significantly and delay changes applied to the node. Those delays are affecting end-users.
Environment
- Jira DC
- Large number of Custom Fields
Steps to Reproduce
- TBD
Expected Results
Index replication is relatively fast and doesn't cause problem to end-users (eg, within 5min)
Actual Results
Index replication queue grows significantly. Delay is 20+ min.
Notes
- To check the replication queue size, you can run API call /rest/api/2/index/summary and check queueSize value.
Workaround
- Reduce the number of CF
- Reduce complexity of expensive CF.
- is related to
-
JRASERVER-63842 LexoRank Rebalance causes read/write amplifications on Lucene in JIRA Datacenter
- Closed
-
JRASERVER-70422 Create Lucene document based replication for Jira DC for index replication
- Closed
-
JRASERVER-66864 As an JIRA Datacenter Administrator I want pause NodeReindexServiceThread for replication
- Gathering Interest
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- relates to
-
DBR-226 Loading...