I am trying to understand how data rebalance works. Consider that I have a read-only single-tablet long-running transaction. There are three node A (tablet leader), B and C. The node D is added, and tablet leadership is about to be transferred to it. What will happen to the ongoing transaction which is currently reading data from node A?
Will it prevent leader switch from A to D until it is finished? Or maybe the transaction will be canceled?
Thank you in advance.