Update the incompatible version behavior change protocol version check and add a note that we'll need to appropriately set the version at merge time.

This commit is contained in:
A.J. Beamon 2017-07-17 11:00:45 -07:00
parent 650c6ff399
commit 591d98f711
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ ACTOR static Future<Void> connectionReader(
}
compatible = false;
if(p->protocolVersion < 0x0FDB00A470010001LL) {
if(p->protocolVersion < 0x0FDB00A551000000LL) { // FIXME: at merge time, we need to update the Net2 protocol version and set this version appropriately.
// Older versions expected us to hang up. It may work even if we don't hang up here, but it's safer to keep the old behavior.
throw incompatible_protocol_version();
}