Due to the distributed architecture of the OceanBase Database, exceptions encountered in its daily use can be categorized into the following three types:
Network communication exceptions
Server exceptions
Disk exceptions
Generally, these three types of exceptions have different scopes of impact. Network and communication exceptions usually result in zone-level or even cluster-level exceptions. Server exceptions generally cause only temporary exceptions such as automatic zone switchovers(which can be automatically solved by the high availability mechanism of the OceanBase Database). Disk exceptions usually affect only a server or a zone.
This section describes the methods and logic for handling different types of exceptions, as well as the methods for handling some typical exceptions.