-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application crashes with RocksIOError #184
Comments
If you really have only one process using the
Usually the process will clean this up when exiting, and I haven't had any problems even after performing a |
@ask I tried that, just before starting up the worker, but still no joy. Do you have any other recommendations? |
Some additional information: |
If it helps, I start the worker with: |
Thanks! I managed to reproduce, and strangely the datadir is populated with a single
If I rename them to something else: # was opm.pmdb.service.plants
plants_table = app.Table('plants',
default=dict,
key_type=str,
value_type=dict)
# was opm.pmdb.service.objects
objects_table = app.Table('objects',
default=dict,
key_type=str,
value_type=dict) it works - no lock errors and the expected number of table directories:
At first I thought it had something to do with |
Checklist
master
branch of Faust.Steps to reproduce
topic1 = app.topic('source_topic_1'...)
andtopic2 = app.topic('source_topic_2'...)
table1 = app.Table('table1'...)
andtable2 = app.Table('table2'...)
@app.agent(topic1)
,@app.agent(topic2)
in Faust, populating tables in the process.rocksdb://
storeThe app is configured as follows:
I have two agents, processing two Kafka source topics:
As far as I can see, i only have one process running, so there shouldn't be multiple processes contending for the lock:
and
I've also tried the following to resolve the problem:
Expected behavior
Application does not crash.
Actual behavior
Application crashes due to error:
reason=RocksIOError(b'IO error: lock : opm-data/v21/tables/opm.pmdb_service.db/LOCK: No locks available
Full traceback
Versions
v3.6.6
v1.2.1
Ubuntu 18.04
2.0.0-cp1
5.8
The text was updated successfully, but these errors were encountered: