liaoxin01 commented on code in PR #12875: URL: https://github.com/apache/doris/pull/12875#discussion_r978213928
########## be/src/olap/rowset/beta_rowset_writer.h: ########## @@ -93,7 +94,6 @@ class BetaRowsetWriter : public RowsetWriter { /// Because we want to flush memtables in parallel. /// In other processes, such as merger or schema change, we will use this unified writer for data writing. std::unique_ptr<segment_v2::SegmentWriter> _segment_writer; - mutable SpinLock _lock; // lock to protect _wblocks. Review Comment: SpinLock is used in `_create_segment_writer`. Can we delete it here? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org