storagXpert / lucidMQ

Message Queue for cluster communication
GNU General Public License v3.0
1 stars 1 forks source link

Move the client mutex initialization from server to client side #15

Open abhisina opened 4 years ago

abhisina commented 4 years ago

This can create unintended side-effect if the server host was rebooted. The meta files and queue files are intact but the mutex was not re-initialized

storagXpert commented 4 years ago

In init_qmeta_files, client_write_lock mutex would be initialized only the first time its created. Need to see how to handle this in all cases.