Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Issue 35001: Implementation of multiRead

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by Ankita
Modified:
2 years, 7 months ago
Reviewers:
Ankita
Visibility:
Public.

Patch Set 1 #

Total comments: 28
Unified diffs Side-by-side diffs Delta from patch set Stats (+701 lines, -3 lines) Patch
M src/MakefragTest View 1 chunk +1 line, -0 lines 0 comments Download
M src/MasterClient.h View 3 chunks +54 lines, -1 line 4 comments Download
M src/MasterClient.cc View 3 chunks +74 lines, -1 line 2 comments Download
M src/MasterServer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/MasterServer.cc View 2 chunks +73 lines, -0 lines 9 comments Download
M src/MasterTest.cc View 2 chunks +102 lines, -0 lines 1 comment Download
M src/ObjectFinder.h View 2 chunks +14 lines, -0 lines 2 comments Download
M src/ObjectFinder.cc View 1 chunk +52 lines, -0 lines 3 comments Download
M src/RamCloud.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/RamCloud.cc View 1 chunk +26 lines, -0 lines 2 comments Download
A src/RamCloudTest.cc View 1 chunk +269 lines, -0 lines 3 comments Download
M src/Rpc.h View 3 chunks +32 lines, -1 line 2 comments Download

Messages

Total messages: 2
john.ousterhout
http://rccodereview.appspot.com/35001/diff/1/5 File src/MasterServer.cc (right): http://rccodereview.appspot.com/35001/diff/1/5#newcode319 src/MasterServer.cc:319: *status = STATUS_TABLE_DOESNT_EXIST; It doesn't appear that this path ...
13 years, 6 months ago (2011-05-22 22:33:16 UTC) #1
Ankita
13 years, 6 months ago (2011-05-23 21:32:26 UTC) #2
http://rccodereview.appspot.com/35001/diff/1/3
File src/MasterClient.cc (right):

http://rccodereview.appspot.com/35001/diff/1/3#newcode321
src/MasterClient.cc:321: for (uint32_t i = 0; i < requests.size(); i++){
foreach

http://rccodereview.appspot.com/35001/diff/1/3#newcode323
src/MasterClient.cc:323: new(&req, APPEND) MultiReadRequestPart;
use as a constructor (default)

http://rccodereview.appspot.com/35001/diff/1/4
File src/MasterClient.h (right):

http://rccodereview.appspot.com/35001/diff/1/4#newcode34
src/MasterClient.h:34: 
meta comments style

http://rccodereview.appspot.com/35001/diff/1/4#newcode57
src/MasterClient.h:57: uint64_t* version;
not a pointer

http://rccodereview.appspot.com/35001/diff/1/4#newcode62
src/MasterClient.h:62: Status* status;
not a pointer

http://rccodereview.appspot.com/35001/diff/1/4#newcode72
src/MasterClient.h:72: };
semicolons. here and later.

http://rccodereview.appspot.com/35001/diff/1/5
File src/MasterServer.cc (right):

http://rccodereview.appspot.com/35001/diff/1/5#newcode282
src/MasterServer.cc:282: *      response buffer for this type of request. It
contains
pre allocated space only for header. we add other space.

http://rccodereview.appspot.com/35001/diff/1/5#newcode311
src/MasterServer.cc:311: *status = STATUS_OK;
pull up as a part of constructor

http://rccodereview.appspot.com/35001/diff/1/5#newcode319
src/MasterServer.cc:319: *status = STATUS_TABLE_DOESNT_EXIST;
continue

http://rccodereview.appspot.com/35001/diff/1/5#newcode324
src/MasterServer.cc:324: *status = STATUS_OBJECT_DOESNT_EXIST;
continue

http://rccodereview.appspot.com/35001/diff/1/5#newcode327
src/MasterServer.cc:327: if (*status == STATUS_OK){
no need of if

http://rccodereview.appspot.com/35001/diff/1/5#newcode336
src/MasterServer.cc:336: handle->length());
try with just append (add both sizes)

http://rccodereview.appspot.com/35001/diff/1/5#newcode338
src/MasterServer.cc:338: respHdr.count++;
assign in the beginning

http://rccodereview.appspot.com/35001/diff/1/8
File src/ObjectFinder.cc (right):

http://rccodereview.appspot.com/35001/diff/1/8#newcode90
src/ObjectFinder.cc:90: *      The coordinator has no record of a table.
change!!!!

http://rccodereview.appspot.com/35001/diff/1/8#newcode94
src/ObjectFinder.cc:94: *      and the SessionRef corresponding to that master.
remove 93 and 94.

http://rccodereview.appspot.com/35001/diff/1/8#newcode123
src/ObjectFinder.cc:123: requestBins.push_back(currentRequestBin);
move instead of copy. can pull this up, then get ref to the last object and then
put values in there.

http://rccodereview.appspot.com/35001/diff/1/9
File src/ObjectFinder.h (right):

http://rccodereview.appspot.com/35001/diff/1/9#newcode41
src/ObjectFinder.h:41: Transport::SessionRef sessionref;
sessionRef

http://rccodereview.appspot.com/35001/diff/1/9#newcode42
src/ObjectFinder.h:42: std::vector<MasterClient::ReadObject> requests;
readobject pointers

http://rccodereview.appspot.com/35001/diff/1/10
File src/RamCloud.cc (right):

http://rccodereview.appspot.com/35001/diff/1/10#newcode91
src/RamCloud.cc:91: {
masterrequests comment - remove

http://rccodereview.appspot.com/35001/diff/1/10#newcode102
src/RamCloud.cc:102: for (uint32_t j = 0; j < numBins; j++){
foreach

http://rccodereview.appspot.com/35001/diff/1/12
File src/RamCloudTest.cc (right):

http://rccodereview.appspot.com/35001/diff/1/12#newcode126
src/RamCloudTest.cc:126: 
status initializations not to 0.

http://rccodereview.appspot.com/35001/diff/1/13
File src/Rpc.h (right):

http://rccodereview.appspot.com/35001/diff/1/13#newcode190
src/Rpc.h:190: */
put in the requestpart as part here

http://rccodereview.appspot.com/35001/diff/1/13#newcode197
src/Rpc.h:197: * Included here to fulfill requirements in common code.
always be status ok. reword.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld aab5469