Project

General

Profile

Task #3117

Task #3116: Metacat CN startup and initialization time needs to be reduced an order of magnitude

Reduce Hazelcast.init() startup time for populating hzSystemMetadata

Added by Chris Jones over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ben Leinfelder
Category:
Metacat
Start date:
2012-08-03
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Metacat's HazelcastService needs to be modified to add an ItemListener on hzMissingIdentifiers (or potentially do this in a sibling listener class called by HazelcastService. This may be done in the resynchToRemote() method and in a thread. The listener will call ILock.tryLock('missing-{pid}') in order to keep the lock namespace separate from the actual pid lock, but all three CNs will participate in this lock to reduce repeated calls to put() on the system metadata map.

History

#1 Updated by Ben Leinfelder over 11 years ago

  • Status changed from New to Closed

This is incorporated into the Metacat 2.0.3 release (currently being tested as RCx).
Tests in the sandbox (1/3 and 2/3 servers with missing entries) and stage (2K entries missing on a single server) environments have been successful.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)