[MCOL-4347] SM hits assertion if ms3_init_assume_role() fails Created: 2020-10-12 Updated: 2020-10-15 Resolved: 2020-10-15 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | Storage Manager |
| Affects Version/s: | 5.4.1 |
| Fix Version/s: | 5.4.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Patrick LeBlanc (Inactive) | Assignee: | Jose Rojas (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
centos 8, engine build 922, cmapi build 315 |
||
| Description |
|
I ran into an assertion in S3Storage trying to reproduce the problem in The change to make here is to check the return value from getConnection(), and if NULL, return an error (set errno to something appropriate and return -1). |
| Comments |
| Comment by Ben Thompson (Inactive) [ 2020-10-13 ] |
|
getConnection() returns NULL if libmarias3 ms3_init() or ms3_init_assume_role() fail |
| Comment by Jose Rojas (Inactive) [ 2020-10-15 ] |
|
Verified assertion no longer exists in build columnstore-1.5.4-1/push/934 , and there is now an intuitive error msg in logs. |