kangpinghuang commented on a change in pull request #2691: add rowset state
URL: https://github.com/apache/incubator-doris/pull/2691#discussion_r364543721
##########
File path: be/src/olap/rowset/rowset.h
##########
@@ -152,8 +268,13 @@ class Rowset : public
std::enable_shared_from_this<Rowset> {
bool _is_pending; // rowset is pending iff it's not in visible state
bool _is_cumulative; // rowset is cumulative iff it's visible and start
version < end version
- DorisCallOnce<OLAPStatus> _load_once;
+ SpinLock _lock;
+ Mutex _load_lock;
Review comment:
done
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]