You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void sendRpc(HBaseRpc rpc) {
if (chan != null) {
// Now {@link GetRequest} is also a {@link BatchableRpc}, we don't want to retry
// the get request once it fails.
if (rpc instanceof BatchableRpc
&& !(rpc instanceof GetRequest)
&& (server_version >= SERVER_VERSION_092_OR_ABOVE // Before 0.92,
|| rpc instanceof PutRequest)) { // we could only batch "put".
final BatchableRpc edit = (BatchableRpc) rpc;
if (edit.canBuffer() && hbase_client.getFlushInterval() > 0) {
bufferEdit(edit);
return;
}
addSingleEditCallbacks(edit);
} else if (rpc instanceof MultiAction) {
The text was updated successfully, but these errors were encountered:
https://github.com/OpenTSDB/asynchbase/blob/master/src/RegionClient.java#L987
It seems like this code prevents the buffering but the comment indicates no buffering on the retry.
Should the conditions be change to?
The text was updated successfully, but these errors were encountered: