We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc06564 commit c94a0e9Copy full SHA for c94a0e9
storage/ndb/rest-server/rest-api-server/internal/dal/heap/heap.go
@@ -101,10 +101,9 @@ func (heap *Heap) releaseAllBuffers() {
101
heap.mutex.Lock()
102
defer heap.mutex.Unlock()
103
104
- stats := heap.GetNativeBuffersStats()
105
- if stats.BuffersCount != int64(len(heap.buffers)) {
+ if heap.buffersStats.BuffersCount != int64(len(heap.buffers)) {
106
log.Warnf("Shutting down heap. Number of free buffers do not match. Expecting: %d, Got: %d.",
107
- stats.BuffersCount, int64(len(heap.buffers)))
+ heap.buffersStats.BuffersCount, int64(len(heap.buffers)))
108
}
109
110
for _, buffer := range heap.buffers {
0 commit comments