sawtooth-core
sawtooth-core copied to clipboard
lmdb.MapFullError limit with mapsize?
Hello, my docker container is giving back all transaction's results with pending state, the logs throws this error:
[2021-12-29 19:16:54.971 ERROR future] An unhandled error occurred while running future callback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/future.py", line 79, in run_callback
self._callback_func(self._request, self._result)
File "/usr/lib/python3/dist-packages/sawtooth_validator/execution/executor.py", line 127, in _future_done_callback
data=data)
File "/usr/lib/python3/dist-packages/sawtooth_validator/execution/scheduler_serial.py", line 108, in set_transaction_execution_result
batch_id=batch_signature)
File "/usr/lib/python3/dist-packages/sawtooth_validator/execution/scheduler_serial.py", line 299, in _calculate_state_root_if_required
state_hash = self._compute_merkle_root(required_state_hash)
File "/usr/lib/python3/dist-packages/sawtooth_validator/execution/scheduler_serial.py", line 273, in _compute_merkle_root
persist=True, clean_up=True)
File "/usr/lib/python3/dist-packages/sawtooth_validator/execution/context_manager.py", line 409, in _squash
state_hash = tree.update(updates, deletes, virtual=virtual)
File "/usr/lib/python3/dist-packages/sawtooth_validator/state/merkle.py", line 247, in update
self._database.set_batch(update_batch)
File "/usr/lib/python3/dist-packages/sawtooth_validator/database/lmdb_nolock_database.py", line 121, in set_batch
txn.put(k.encode(), packed, overwrite=True)
lmdb.MapFullError: mdb_put: MDB_MAP_FULL: Environment mapsize limit reached
Is possible change the environment mapsize? or this have a limit that is impossible to change?