Lucene cluster bootup needs explicit lock to guard the window time of switching store
Description
Activity
Show:

Michael Saechang April 13, 2012 at 5:11 PM
Committed on:
Portal 6.2.x GIT ID: 433bddefff6f31846a2e1a1f2e67b34700f265a6.
Fixed
Details
Assignee
Brian ChanBrian ChanReporter
shuyang.zhoushuyang.zhouBranch Version/s
6.1.x6.0.xBackported to Branch
CommittedGit Pull Request
Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Branch Version/s
6.1.x
6.0.x
Backported to Branch
Committed
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created April 10, 2012 at 4:47 PM
Updated June 24, 2023 at 3:55 PM
Resolved May 14, 2012 at 3:32 PM
Lucene cluster bootup is a relatively long progress, depends on how large the index files are. During the store switching window time, any accessing to IndexWriter will see a closed state which triggers an error.
This fix add an explicit lock for Lucene cluster bootup, all accessing during the store switching window time will be blocked. On unblocking, the new store will be ready to use.