David Ribeiro Alves has posted comments on this change.

Change subject: log block manager: reopen container metadata writers at the OS 
level
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/6825/1/src/kudu/fs/log_block_manager.h
File src/kudu/fs/log_block_manager.h:

PS1, Line 292: OpenContainerMetadataWriter
docs


http://gerrit.cloudera.org:8080/#/c/6825/1/src/kudu/util/pb_util.cc
File src/kudu/util/pb_util.cc:

PS1, Line 649: DCHECK_EQ(FileState::NOT_INITIALIZED, state_);
             :   RETURN_NOT_OK(ParsePBFileHeader(writer_.get(), &offset_, 
&version_));
             :   ContainerSupHeaderPB sup_header;
             :   RETURN_NOT_OK(ReadSupplementalHeader(writer_.get(), version_, 
&offset_, &sup_header));
             :   RETURN_NOT_OK(writer_->Size(&offset_)); // Reset the write 
offset to the end of the file.
             :   state_ = FileState::OPEN;
why was this thread safe before and what changed that it doesn't need to be so 
anymore?


-- 
To view, visit http://gerrit.cloudera.org:8080/6825
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6029d499422f5a2db036d796c7e208f2af71c394
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Adar Dembo <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-HasComments: Yes

Reply via email to