• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Doubt about automatic failure

 
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic