Upgrade versions of vendored libs

This commit is contained in:
eleksir
2022-11-04 16:29:14 +03:00
parent fba732cc24
commit a7ae372459
941 changed files with 219674 additions and 23611 deletions

View File

@@ -80,7 +80,7 @@ func (d *DB) loadReadState() *readState {
// list of memtables. Requires DB.mu is held. If checker is not nil, it is
// called after installing the new readState. If atomicFunc is not nil, it is
// executed atomically with the transition to the new read state.
func (d *DB) updateReadStateLocked(checker func(*DB) error, atomicFunc func()) {
func (d *DB) updateReadStateLocked(checker func(*DB) error) {
s := &readState{
db: d,
refcnt: 1,
@@ -95,11 +95,6 @@ func (d *DB) updateReadStateLocked(checker func(*DB) error, atomicFunc func()) {
d.readState.Lock()
old := d.readState.val
d.readState.val = s
// TODO(jackson): Remove atomicFunc. It's temporary to allow us to copy
// range keys from flushed memtables into the global arena atomically.
if atomicFunc != nil {
atomicFunc()
}
d.readState.Unlock()
if checker != nil {
if err := checker(d); err != nil {