-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix transaction too big issue in restore (#957)
When restore happens, we bunch entries together and perform batch write. The existing implementation would batch 1000 entries. The batch of 1000 entries can overflow the transactional limits in certain circumstances (eg: when the table size is too small). This commit fixes the issue. We flush the entries once the batch reaches its max capacity.
- Loading branch information
Ibrahim Jarif
authored
Aug 9, 2019
1 parent
0283a03
commit f19b4c1
Showing
1 changed file
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters