if (request instanceof GetRequest || request instanceof ReplicaGetRequest) {
int flags = 0;
if (msg.getExtrasLength() > 0) {
final ByteBuf extrasReleased = msg.getExtras();
final ByteBuf extras = ctx.alloc().buffer(msg.getExtrasLength());
extras.writeBytes(extrasReleased, extrasReleased.readerIndex(), extrasReleased.readableBytes());
flags = extras.getInt(0);
extras.release();
}
response = new GetResponse(status, cas, flags, bucket, content, request);
} else if (request instanceof GetBucketConfigRequest) {