[MCOL-3495] S3 ColumnStore should check for S3 configuration at startup if S3 is used Created: 2019-09-10 Updated: 2023-10-26 Resolved: 2019-10-08 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | 1.4.0 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Lee (Inactive) | Assignee: | Ben Thompson (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Build tested: 1.4.0-1 server commit: I installed MCS using S3 local storage and switched to S3 cloud storage, MCS still works. This is probably because I tested only a small table and data is in local cache. I have seen queries failed due to missing objects. Since MCS does not support such S3 storage type switching, we should do 1. postConfigure should save the storage type (localStorage or S3) in the ColumnStore.xml file The following are the steps for my test 1. installed MCS using S3 local storage |
| Comments |
| Comment by Ben Thompson (Inactive) [ 2019-10-03 ] | ||||||||||
|
Its documented within S3 to not change the storage location after postConfigure is run. Not much to do here, nothing blocks the user from changing this while system is shutdown. Changing while active will do nothing as it is only loaded at process startup. The query would work after restart because whatever is in cache would work. and that cache would get pushed to cloud when restarted. behavior here is undefined though as the cnf file states. Seems you got lucky that table worked because of large cache size and small table size. from storagemanger.cnf file:
| ||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2019-10-08 ] | ||||||||||
|
Closing because there is documentation around this. It would also be extremely difficult to solve and it is something no user should ever try and do. Daniel's solution would not catch every case. |