Description
Need to expose new synchronous calls for online and offlining tables in proxy. I was thinking of two options for this
- Add parameter to existing offlineTable() and onlineTable() methods
- Add new method offlineTableAndWait() to proxy
Option #1 will break clients that used the 1.5 IDL and switch to the 1.6 IDL.
Option #2 will not break clients that switch from the 1.5 to 1.6 IDL, but it will clutter the proxy API.
I was discussing this w/ ctubbsii and he suggested going w/ option 1 because user can continue to use the 1.5 IDL to access a 1.6 proxy server. The 1.6 server can use thrift mechanisms to handle the fact that 1.5 IDL does not pass the extra parameter, defaulting to not waiting/async.