linearregression / hypertable

Automatically exported from code.google.com/p/hypertable
GNU General Public License v2.0
0 stars 0 forks source link

Potential problem in destroy_handle in Hyperspace/Master.cc #733

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
From the thread 
http://groups.google.com/group/hypertable-dev/browse_thread/thread/c941995bee4cd
200:

this function destroy_handle in hyperspace master.cc   do the
following things:
1.release lock
2.grant lock  -> grant_pending_lock_reqs(...)
.....
normally,if the handled be  destory hodle the node's lock,that's ok.
While ,if a handle without lock on the node. is destroied, the  node's
lock is exist yet. while  grant_pending_lock_reqs function is called
yet. the exist lock will be replace .
Maybe i should review the code.but maybe is a bug.

Original issue reported on code.google.com by nuggetwh...@gmail.com on 25 Nov 2011 at 5:54

GoogleCodeExporter commented 9 years ago

Original comment by nuggetwh...@gmail.com on 14 Jan 2012 at 8:33