bug 10135: Fix clustered agent manager's version bug

We are using v1 now, instead of v3. This bug result in all the commands from
the other clustered management server would be sent to agentmanager, and then dropped.

status 10135: resolved fixed
This commit is contained in:
Sheng Yang 2011-06-04 21:28:03 -07:00
parent ff86c865e2
commit 7cf312674b
1 changed files with 2 additions and 1 deletions

View File

@ -596,7 +596,8 @@ public class ClusteredAgentManagerImpl extends AgentManagerImpl implements Clust
final byte[] data = task.getData();
Version ver = Request.getVersion(data);
if (ver.ordinal() < Version.v3.ordinal()) {
if (ver.ordinal() != Version.v1.ordinal()) {
s_logger.warn("Wrong version for clustered agent request");
super.doTask(task);
return;
}