Lucene cluster bootup needs explicit lock to guard the window time of switching store

Description

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.

Activity

Show:

Michael Saechang April 13, 2012 at 5:11 PM

Committed on:
Portal 6.2.x GIT ID: 433bddefff6f31846a2e1a1f2e67b34700f265a6.

Fixed

Details

Assignee

Reporter

Branch Version/s

6.1.x
6.0.x

Backported to Branch

Committed

Git Pull Request

Components

Priority

Zendesk Support

Created April 10, 2012 at 4:47 PM
Updated June 24, 2023 at 3:55 PM
Resolved May 14, 2012 at 3:32 PM
Loading...