abdullah alamoudi has uploaded a new patch set (#2). Change subject: [NO ISSUE][STO] Fix deadlock in buffer cache ......................................................................
[NO ISSUE][STO] Fix deadlock in buffer cache - user model changes: no - storage format changes: no - interface changes: no details: - When two threads concurrently attempt to pin a page, one as a new page, the other as an existing page, a deadlock might happen. - The deadlock is caused by the reader as a new page setting the valid flag before the ReaderThread attempts to read the page. - The fix is to have the reader thread ignore the read request and have the reader as a new page notify all the other readers that the page is valid. Change-Id: I50cf18d96228a1ad78ce11f5258252e8d0107d86 --- M hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/buffercache/BufferCache.java 1 file changed, 54 insertions(+), 47 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/07/2407/2 -- To view, visit https://asterix-gerrit.ics.uci.edu/2407 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I50cf18d96228a1ad78ce11f5258252e8d0107d86 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: abdullah alamoudi <bamou...@gmail.com> Gerrit-Reviewer: Jenkins <jenk...@fulliautomatix.ics.uci.edu>