Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt about automatic failure

 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
After i have submitted my assignment i have discovered that i have submitted
an older version of the assignment.With this version there is a problem and here it is :
In the record locking,when a client locks a record, and deleted this record,the lock on this record is not removed from the hash table.This leads to the following case :
Client A locks a record.Client B tries to lock the same record.Client B will be waiting until the record locked by record A is unlocked.Client A deletes the record.In this case Client B will be waiting for the lock on that record for ever.
Will this problem cause an automatic failure.And if it does not,will i lose so much marks because of this issue???

I need advice??
Either resubmit a new version for the assignment, or wait the results and if this will make the assignment fail and then resubmit the assignment.

And in case i failed the assignment,do i have to retake the essay exam.
 
Mark Smyth
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Khaled Mahmoud:
Hello all,
After i have submitted my assignment i have discovered that i have submitted
an older version of the assignment.With this version there is a problem and here it is :
In the record locking,when a client locks a record, and deleted this record,the lock on this record is not removed from the hash table.This leads to the following case :
Client A locks a record.Client B tries to lock the same record.Client B will be waiting until the record locked by record A is unlocked.Client A deletes the record.In this case Client B will be waiting for the lock on that record for ever.
Will this problem cause an automatic failure.And if it does not,will i lose so much marks because of this issue???

I need advice??
Either resubmit a new version for the assignment, or wait the results and if this will make the assignment fail and then resubmit the assignment.

And in case i failed the assignment,do i have to retake the essay exam.


You will not be able to resubmit the assignment until you recieve a fail and purchase a new exam voucher. You do not need to take the essay exam again. I would like to be able to give you some reassurance but if the version you submitted does what you described then it does not look to good for you I'm afraid . While not an automatic failure locking makes up a large proportion of the assignment 80 out of 400. I think that not releasing the lock on a record will result in a large loss of points in this section. If you get a score of zero for this section, This would mean you will need full marks in every other section to pass.

All you can do is wait and see what happens maybe make the apropriate changes in the meantime for your next submission. And triple check everything the next time before you submit.

Best of Luck,
Mark.
 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have to add something
I have thread that removes the records that have been locked for more than ten minutes, which means the client will not have to wait forever and after this period ends, the client trying to lock the record will receive a notification that the record they are trying to lock has been deleted.I hope this will make the situation better.
In the lock manager class, i have method called informDelete that will remove the lock on a deleted record.But the file version i supplied does not call this method when a delete operation happens.

[ January 19, 2007: Message edited by: Khaled Mahmoud ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic