[fix](stmt-forward) fix forward null packet (#21979)

This commit is contained in:
Siyang Tang
2023-07-20 10:45:16 +08:00
committed by GitHub
parent 0f5b973cb9
commit 3d0832d973

View File

@ -908,6 +908,8 @@ public class FrontendServiceImpl implements FrontendService.Iface {
if (params.isSyncJournalOnly()) {
final TMasterOpResult result = new TMasterOpResult();
result.setMaxJournalId(Env.getCurrentEnv().getMaxJournalId());
// just make the protocol happy
result.setPacket("".getBytes());
return result;
}