Re: ByteBuffers and StorageProxy

2011-10-11 Thread Edward Capriolo
On Tue, Oct 11, 2011 at 12:25 PM, Todd Burruss wrote: > My recent bug was that I was sending a zero length ByteBuffer (because I > forgot to flip) for a column name. The problem I have is that the insert > was accepted by the server. Should an exception be thrown? The end result > of allowing

Re: ByteBuffers and StorageProxy

2011-10-11 Thread Jonathan Ellis
These checks are done in ThriftValidation. If you decide to use StorageProxy directly, the training wheels are off. On Oct 11, 2011 11:26 AM, "Todd Burruss" wrote: > My recent bug was that I was sending a zero length ByteBuffer (because I > forgot to flip) for a column name. The problem I have i

ByteBuffers and StorageProxy

2011-10-11 Thread Todd Burruss
My recent bug was that I was sending a zero length ByteBuffer (because I forgot to flip) for a column name. The problem I have is that the insert was accepted by the server. Should an exception be thrown? The end result of allowing the insert is that the server will not restart if the data is