jbossas/jboss-as — pull request #3672 by kabir (2012-12-14 17:48:15+00:00)
Title: Simple test that the DC version information is applied to the slave doma...

...in. Patch remoting and xnio for backward compatibility as discussed on IRC

The remoting and xnio upgrades are handled in OldVersionCopier, and the reason is here:
[3:24pm] kkhan: dmlloyd: In the mixed domain tests if you try to connect to an old version of HC and execute an op which returns a lot of data, it hangs. Here is the slave thread dump: http://pastebin.com/e32D97gg, and here the test thread dump http://pastebin.com/XsjbCWBc. The ModelControllerClientOperationHandler line numbers in the slave one are a bit off due to printlns
[3:25pm] kkhan: THis is also reproducable using CLI from master, and trying to run ops on e.g. a 7.1.2 standalone instance
[3:26pm] kkhan: A :read-resource works while a :read-resource(recursive=true) hangs
[3:26pm] kkhan: emuckenhuber has looked a bit at window sizes but I'll let him fill you in on that once you come online
[3:29pm] • dmlloyd
[3:30pm] dmlloyd: definitely looks like a window issue of some sort
[3:30pm] dmlloyd: the reader is reading and the writer is writing
[3:30pm] kkhan: Also reproducible if you have a 7.1.2 slave connected to master DC and you do a /host=slave/server=server-one:read-resource(recursive=true) which I assume is the same problem
[3:31pm] dmlloyd: can you verify the remoting versions on each side?
[3:31pm] kkhan: sec
[3:31pm] dmlloyd: I think that unless Remoting is up to date on both sides there will be unavoidable issues
[3:31pm] dmlloyd: that even applies to old HCs
[3:32pm] kkhan: So old HCs would need their remoting patched?
[3:32pm] dmlloyd: I suspect so, yes
[3:32pm] kkhan: so master uses jboss-remoting:jar:3.2.13.GA
[3:33pm] kkhan: 7.1.2 uses jboss-remoting:jar:3.2.7.GA
[3:33pm] dmlloyd: then yeah I think that's it
[3:33pm] kkhan: ok, I'll take that for a test spin
[3:41pm] kkhan: dmlloyd: ok, so I needed to upgrade jboss-remoting for those versions^
[3:41pm] kkhan: and xnio-api from 3.0.3->3.0.7 to avoid a java.lang.NoClassDefFoundError: org/xnio/BrokenPipeException
[3:41pm] kkhan: bstans_afk: ^^
[3:42pm]