Skip to content

Commit

Permalink
bug(memory): Log lingering locks for debugging purposes (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishramachandran authored Nov 5, 2020
1 parent 97e4087 commit de5f8a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions memory/src/main/scala/filodb.memory/data/ChunkMap.scala
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ object ChunkMap extends StrictLogging {
for ((inst, amt) <- countMap) {
if (amt > 0) {
total += amt
sharedLockLingering.increment(amt)
_logger.warn(s"THIS IS A BUG. ChunkMap shared locks was not released for: $inst, amount: $amt")
}
}
}
Expand Down

0 comments on commit de5f8a0

Please sign in to comment.