From 97c90bebf4d09a63054e9ff2d93afdaa5af58fdc Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Tue, 21 Nov 2023 09:03:58 +0100 Subject: [PATCH] Update ethdb/pebble/pebble.go --- ethdb/pebble/pebble.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ethdb/pebble/pebble.go b/ethdb/pebble/pebble.go index e4ace33bb5..d58329c6d6 100644 --- a/ethdb/pebble/pebble.go +++ b/ethdb/pebble/pebble.go @@ -609,6 +609,8 @@ func (b *batch) Replay(w ethdb.KeyValueWriter) error { // pebbleIterator is a wrapper of underlying iterator in storage engine. // The purpose of this structure is to implement the missing APIs. +// +// The pebble iterator is not thread-safe. type pebbleIterator struct { iter *pebble.Iterator moved bool