Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
Description
In the interval after master server starts but before it finishes its internal procedures upon becoming a leader, CreateTable() and other leader-only methods respond with ServiceUnavailable error. It makes sense to retry in such cases because master server finishes its leader-related chores quick and then it's ready to serve those requests. However, the Kudu C++ client does not retry in such cases, spitting errors like
Bad status: Service unavailable: Error creating table all-types-table on the master: Leader not yet ready to serve requests