Re: Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-28 Thread Yoshihiro YUNOMAE
(2013/08/28 23:42), Steven Rostedt wrote: On Wed, 28 Aug 2013 20:30:17 +0900 Yoshihiro YUNOMAE wrote: (2013/08/27 22:05), Steven Rostedt wrote: On Tue, 27 Aug 2013 19:23:24 +0900 Yoshihiro YUNOMAE wrote: OK, let me check that. Even if the old server will receive "V2", the server will send

Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-28 Thread Steven Rostedt
On Wed, 28 Aug 2013 20:30:17 +0900 Yoshihiro YUNOMAE wrote: > (2013/08/27 22:05), Steven Rostedt wrote: > > On Tue, 27 Aug 2013 19:23:24 +0900 > > Yoshihiro YUNOMAE wrote: > > > >> OK, let me check that. Even if the old server will receive "V2", the > >> server will send port numbers instead of

Re: Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-28 Thread Yoshihiro YUNOMAE
(2013/08/27 22:05), Steven Rostedt wrote: On Tue, 27 Aug 2013 19:23:24 +0900 Yoshihiro YUNOMAE wrote: OK, let me check that. Even if the old server will receive "V2", the server will send port numbers instead of "V2" due to the old protocol. In that time, the new client will disconnect from

Re: Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-28 Thread Yoshihiro YUNOMAE
(2013/08/27 22:05), Steven Rostedt wrote: On Tue, 27 Aug 2013 19:23:24 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: OK, let me check that. Even if the old server will receive V2, the server will send port numbers instead of V2 due to the old protocol. In that time, the new

Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-28 Thread Steven Rostedt
On Wed, 28 Aug 2013 20:30:17 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: (2013/08/27 22:05), Steven Rostedt wrote: On Tue, 27 Aug 2013 19:23:24 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: OK, let me check that. Even if the old server will receive

Re: Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-28 Thread Yoshihiro YUNOMAE
(2013/08/28 23:42), Steven Rostedt wrote: On Wed, 28 Aug 2013 20:30:17 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: (2013/08/27 22:05), Steven Rostedt wrote: On Tue, 27 Aug 2013 19:23:24 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: OK, let me check

Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-27 Thread Steven Rostedt
On Tue, 27 Aug 2013 19:23:24 +0900 Yoshihiro YUNOMAE wrote: > OK, let me check that. Even if the old server will receive "V2", the > server will send port numbers instead of "V2" due to the old protocol. > In that time, the new client will disconnect from the old server and > the restarts with

Re: Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-27 Thread Yoshihiro YUNOMAE
(2013/08/27 0:11), Steven Rostedt wrote: On Mon, 26 Aug 2013 10:50:33 +0900 Yoshihiro YUNOMAE wrote: 0. old server and old client Old servers send "tracecmd" as the first message. Old clients compare the first 8byte of the first message with "tracecmd". 1. new server - Send "tracecmd-v2" as

Re: Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-27 Thread Yoshihiro YUNOMAE
(2013/08/27 0:11), Steven Rostedt wrote: On Mon, 26 Aug 2013 10:50:33 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: Network 0. old server and old client Old servers send tracecmd as the first message. Old clients compare the first 8byte of the first message with tracecmd. 1.

Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-27 Thread Steven Rostedt
On Tue, 27 Aug 2013 19:23:24 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: OK, let me check that. Even if the old server will receive V2, the server will send port numbers instead of V2 due to the old protocol. In that time, the new client will disconnect from the old server

Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-26 Thread Steven Rostedt
On Mon, 26 Aug 2013 10:50:33 +0900 Yoshihiro YUNOMAE wrote: > > 0. old server and old client > Old servers send "tracecmd" as the first message. > Old clients compare the first 8byte of the first message with "tracecmd". > > 1. new server > - Send "tracecmd-v2" as the first message. > - Check

Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-26 Thread Steven Rostedt
On Mon, 26 Aug 2013 10:50:33 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: Network 0. old server and old client Old servers send tracecmd as the first message. Old clients compare the first 8byte of the first message with tracecmd. 1. new server - Send tracecmd-v2 as

Re: Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-25 Thread Yoshihiro YUNOMAE
(2013/08/21 2:56), Steven Rostedt wrote: On Mon, 19 Aug 2013 18:46:39 +0900 Yoshihiro YUNOMAE wrote: This message protocol is incompatible with the previous unstructured message protocol. So, if an old(new)-version client tries to connect to an new(old)-version server, the operation should

Re: Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-25 Thread Yoshihiro YUNOMAE
(2013/08/21 2:56), Steven Rostedt wrote: On Mon, 19 Aug 2013 18:46:39 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: This message protocol is incompatible with the previous unstructured message protocol. So, if an old(new)-version client tries to connect to an

Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-20 Thread Steven Rostedt
On Mon, 19 Aug 2013 18:46:39 +0900 Yoshihiro YUNOMAE wrote: > This message protocol is incompatible with the previous unstructured message > protocol. So, if an old(new)-version client tries to connect to an > new(old)-version server, the operation should be stopped. > I'm a stickler for

Re: [RFC PATCH 08/11] trace-cmd: Apply the trace-msg protocol for communication between a server and clients

2013-08-20 Thread Steven Rostedt
On Mon, 19 Aug 2013 18:46:39 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: This message protocol is incompatible with the previous unstructured message protocol. So, if an old(new)-version client tries to connect to an new(old)-version server, the operation should be