You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.Printf("[WARN] connectionFactory get %s %s called for aggregator connection - invalid (we must iterate through the child connections explicitly)", pluginFQN, connectionName)
65
+
debug.PrintStack()
66
+
returnnil, fmt.Errorf("cannot create a connectionPlugin for a legacy aggregator connection")
67
+
}
68
+
60
69
f.connectionLock.Lock()
61
70
deferf.connectionLock.Unlock()
62
71
63
72
// build a map key for the plugin
64
73
varkeystring
65
74
// if we have already loaded this plugin and it supports multi connections, just use FQN
66
75
iff.multiConnectionPlugins[pluginFQN] {
76
+
log.Printf("[TRACE] %s supports multi connections, using pluginFQN for key", pluginFQN)
67
77
key=pluginFQN
68
78
} else {
69
79
// otherwise try looking for a legacy connection plugin
log.Printf("[WARN] connectionFactory get %s %s called for aggregator connection - invalid (we must iterate through the child connections explicitly)", pluginFQN, connectionName)
86
-
debug.PrintStack()
87
-
returnnil, fmt.Errorf("the connectionFactory cannot return or create a connectionPlugin for an aggregate connection")
90
+
// so either we have not yet instantiated the conneciton plugin, or it has exited
91
+
if!gotConnectionPlugin {
92
+
log.Printf("[TRACE] no connectionPlugin loaded with key %s", key)
93
+
} else {
94
+
log.Printf("[TRACE] connectionPluginwith key %s has exited - reloading", key)
88
95
}
89
96
97
+
log.Printf("[TRACE] failed to get plugin: %s connection %s", pluginFQN, connectionName)
0 commit comments