RDM 9: Session duplication

avatar

Hi,

when starting RDM 9.0.0.0 the first time, or sometimes when switching to our datasource (RDMS 2.2.7.0), I see every session twice.
A refresh fixes that.

regards
Alex

All Comments (7)

avatar

Have you been able to reproduce the issue? Any repro steps? Has any one else seen this issue?

Stéfane Lavergne

avatar

Yes. It happens at every startup.

avatar

What caching mode? What offline mode?

Could you start RDM with the /Profiler switch and post (email or private msg) the result.

Once you have duplicates, select a pair of duplicated sessions and right-click -> Clipboard -> Copy. Paste that into text editor, remove any sensitive information and send me text via private msg (or slavergne-at-devolutions-dot-net)

Thanks

Stéfane Lavergne

avatar

Hi,

caching is simple (dunno why, should have been intelligent. Will change that now)
Offline mode is read/write

Profiling gives:

LoadConnections [Remote Desktop Manager Server : Server IVU Test]...
OfflineManager.GetDataSourceSettings : 505 ms
OfflineManager.LoadConnections...
LoadConnectionsFromOfflineFile...
DeserializeData : 322 ms
ReadFromOffline : 62 ms
LoadConnectionsFromOfflineFile : 389 ms
OfflineManager.LoadConnections : 434 ms
LoadConnectionsFromDataSource...
LoadDataSourceSettingsFromDataSource...
GetDataSourceSettings : 4043 ms
LoadDataSourceSettingsFromDataSource : 4046 ms
OfflineManager.Save : 161 ms
GetConnections...
RDMS.GetConnections...
this.dataSourceSettingsConnectionData : 0 ms
ConnectionInfos.Foreach...
Decrypt - multi-threaded : 1 ms
LoadObjectFromString - multi-threaded : 205 ms
ConnectionInfos.Foreach : 9 ms
Fetched 1086 sessions
Fetched 1 removed sessions
RDMS.GetConnections : 245 ms
GetConnections : 256 ms
DoSetConnections...
OfflineManager.Save : 107 ms
DoSetConnections : 155 ms
LoadConnectionsFromDataSource : 4783 ms
LoadConnections [Remote Desktop Manager Server : Server IVU Test] : 6292 ms
TreeView.LoadConnectionList...
GetGroupInfos : 8 ms
BeginUpdate...
ApplyGroupCustomImages : 0 ms
LoadConnectionInTreeNode : 413 ms
PreCreateGroups : 79 ms
BeginUpdate : 28 ms
TreeView.LoadConnectionList : 539 ms
LoadTrayiconContextMenu : 39 ms
ThreadQueue.AddRow : 67 ms
ThreadQueue.AddRow : 736 ms
ThreadQueue.AddRow : 198 ms
ThreadQueue.AddRow : 27 ms
LoadConnections [Remote Desktop Manager Server : Server IVU Test]...
OfflineManager.GetDataSourceSettings : 4 ms
LoadConnectionsFromDataSource...
LoadDataSourceSettingsFromDataSource...
GetDataSourceSettings : 190 ms
LoadDataSourceSettingsFromDataSource : 194 ms
OfflineManager.Save : 36 ms
GetConnections...
RDMS.GetConnections...
this.dataSourceSettingsConnectionData : 0 ms
ConnectionInfos.Foreach...
Decrypt - multi-threaded : 0 ms
LoadObjectFromString - multi-threaded : 230 ms
ConnectionInfos.Foreach : 8 ms
Fetched 1086 sessions
Fetched 1 removed sessions
RDMS.GetConnections : 252 ms
GetConnections : 257 ms
DoSetConnections...
OfflineManager.Save : 83 ms
DoSetConnections : 112 ms
LoadConnectionsFromDataSource : 621 ms
LoadConnections [Remote Desktop Manager Server : Server IVU Test] : 985 ms
TreeView.LoadConnectionList...
GetGroupInfos : 9 ms
BeginUpdate...
ApplyGroupCustomImages : 0 ms
LoadConnectionInTreeNode : 56 ms
PreCreateGroups : 30 ms
BeginUpdate : 13 ms
TreeView.LoadConnectionList : 119 ms
ThreadQueue.AddRow : 16 ms
ThreadQueue.AddRow : 458 ms
ThreadQueue.AddRow : 151 ms
ThreadQueue.AddRow : 36 ms


Two session attached, XXX changed by me.

double-session.txt

avatar

switching to intelligent caching seems to have fixed that.

avatar

Thanks for info.

Looks like an issue when using Simple Cache, I will investigate.

Stéfane Lavergne

avatar

The issue has been resolved. Available in the next release.

Stéfane Lavergne