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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
