doris-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-doris] imay opened a new issue #1314: uniform our status in backend
Date Fri, 14 Jun 2019 07:22:40 GMT
imay opened a new issue #1314: uniform our status in backend
URL: https://github.com/apache/incubator-doris/issues/1314
 
 
   Currently, we have three Status implementation in our backends.
   
   1. common/status.* 
   2. olap/new_status.*
   3. olap/olap_define.h OLAPStatus
   
   I want to uniform these three status to one. 
   
   I want to do this based on common/status.h, because this class now is used to communicate
with other hosts. And in this modification, we should keep compatible with old version when
cluster is upgrading.
   
   And for implementation, I want to based on leveldb's status and add some changes. In status
there would be four elements, code, subcode, msg1, msg2. For common use code and msg1 is must
be assigned, and subcode and msg2 is optional which will be used later. 
   
   For example, function will check code to see what to do with it. And subcode may be returned
to user to see what happened in our system in a high level scope.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org


Mime
View raw message