There are places where insert state mutex variable is set before real insertion happens.
In theory it is not quite safe if there are some timing issues.
This should be fixed after all mutex vars are placed to separate file and code is slightly refactored.
There are places where insert state mutex variable is set before real insertion happens. In theory it is not quite safe if there are some timing issues. This should be fixed after all mutex vars are placed to separate file and code is slightly refactored.