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
A call to DB.Get returns a io.Closer that must be called once the caller is
finished with the returned value. Previously the *pebble.Iterator type provided
the io.Closer implementation, so the *pebble.Iterator required a pointer to the
containing getIterAlloc allocation for recycling. This commit inverts the
relationship, adding a Close method to getIterAlloc, returning the
*getIterAlloc as the io.Closer and allowing the removal of the getIterAlloc
field from the Iterator. This new organization is more straightforward.
0 commit comments