You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/03/20 08:03:56 UTC
[GitHub] [incubator-iotdb] qiaojialin opened a new pull request #927: fix
recover deadlock
qiaojialin opened a new pull request #927: fix recover deadlock
URL: https://github.com/apache/incubator-iotdb/pull/927
create timeseries root.sg1.d1.s1
delete timeseries root.sg1.d1.s1
restart iotdb
Main thread: recover mmanager, lock a writelock for mmangaer
after delete the timeseries, the data is also need to be deleted because the sg is empty.
Then, the StorageEngine is init and recover each storage group in a recover thread.
recover thread:
In each storage group processor, it wants to recover schema from mManager and lock a readlock.
Then it hangs.
I removed the write lock in MManager init and use a synchronized field.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-iotdb] jt2594838 merged pull request #927: fix recover
deadlock
Posted by GitBox <gi...@apache.org>.
jt2594838 merged pull request #927: fix recover deadlock
URL: https://github.com/apache/incubator-iotdb/pull/927
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services