You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, WriteBatch can create too many pending txns, which can cause memory issues. Instead, we should add a method SetMaxPending(max int) (default to 100 maybe), which can be enforced via Commit and callback using Throttle. In fact, Throttle can be used to simplify the internals of WriteBatch.