[DocDB] Use lightweight protobuf for UpdateConsensus #13703
Closed
Description
Jira Link: DB-3243
Description
UpdateConsensus is pretty heavy and frequent RPC in our system.
It allocates a lot of memory and could release it in another thread, that does not work well with tcmalloc.
We could use lightweight protobufs to lower memory allocation and deallocation by UpdateConsensus.