scalien/scaliendb — Issue #382: Shard server sometimes blocks the main thread for too long
Author: agazso
Created: 2012-02-21 14:10:21+00:00
State: open

Result of profiling:

Function Name	Inclusive Samples	Exclusive Samples	Inclusive Samples %	Exclusive Samples %	Module Name
StorageEnvironment::TryMergeChunks(void)	6,579	0	21.92	0.00	ScalienDB.exe
ShardHeartbeatManager::OnHeartbeatTimeout	9,003	28	29.99	0.09	ScalienDB.exe
ShardServer::OnSetConfigState(class ClusterMessage &)	6,505	0	21.67	0.00	ScalienDB.exe
ShardServer::TryDeleteShards(void)	3,171	5	10.56	0.02	ScalienDB.exe
ShardServer::ConfigureQuorum(class ConfigQuorum *)	2,630	0	8.76	0.00	ScalienDB.exe

ClusterMessage::Read(class ReadBuffer &)	6,182	1	20.59	0.00	ScalienDB.exe
MessageUtil::ReadIDList >(class SortedList &,class ReadBuffer &)
3,742	3	12.47	0.01	ScalienDB.exe
SortedList::Add(unsigned __int64,bool)
3,606	1,700	12.01	5.66	ScalienDB.exe

ConfigState::Read(class ReadBuffer &,bool)	2,438	0	8.12	0.00	ScalienDB.exe
ConfigState::ReadQuorum(class ConfigQuorum &,class ReadBuffer &,bool)
1,738	0	5.79	0.00	ScalienDB.exe
ConfigState::ReadShards(class ReadBuffer &,bool)	510	1	1.70	0.00	ScalienDB.exe