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
{{ message }}
Repository navigation
Commit 251efff
Browse filesBrowse the repository at this point in the historyBrowse files
// we should always trigger next command execution, even in failure cases - otherwise in exception case all the remaining will be stuck in the sync queue forever
299
298
if (resp.executeInSequence()) {
300
299
sendNext(seq);
301
300
}
302
301
}
303
-
302
+
304
303
returnprocessed;
305
304
}
306
305
@@ -338,15 +337,26 @@ public void send(Request req, final Listener listener) throws AgentUnavailableEx
338
337
checkAvailability(req.getCommands());
339
338
340
339
longseq = req.getSequence();
341
-
340
+
if (s_logger.isDebugEnabled()) {
341
+
s_logger.debug("Request seq: " + seq);
342
+
}
343
+
342
344
if (listener != null) {
343
345
registerListener(seq, listener);
344
346
} elseif (s_logger.isDebugEnabled()) {
345
347
s_logger.debug(log(seq, "Routed from " + req.getManagementServerId()));
346
348
}
347
349
350
+
if (s_logger.isDebugEnabled()) {
351
+
s_logger.debug("waiting to send " + seq);
352
+
}
353
+
348
354
synchronized(this) {
349
355
try {
356
+
if (s_logger.isDebugEnabled()) {
357
+
s_logger.debug("entering synchronize block for sending " + seq);
358
+
}
359
+
350
360
if (isClosed()) {
351
361
thrownewAgentUnavailableException("The link to the agent has been closed", _id);
0 commit comments