Skip to content

Commit 58c9012

Browse files
committed
kvserver: add missing stack assignment
This was lost in a previous refactor.
1 parent fdb417a commit 58c9012

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/kv/kvserver/metrics.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3366,6 +3366,7 @@ func (sm *TenantsStorageMetrics) releaseTenant(ctx context.Context, m *tenantSto
33663366
}
33673367

33683368
m.mu.released.Store(true)
3369+
m.mu.stack = debugutil.Stack()
33693370

33703371
// The refCount is zero, delete this instance after destroying its metrics.
33713372
// Note that concurrent attempts to create an instance will detect the zero

0 commit comments

Comments
 (0)