Chris Lu
641351da78
fix: table location mappings to /etc/s3tables ( #8457 )
...
* fix: move table location mappings to /etc/s3tables to avoid bucket name validation
Fixes #8362 - table location mappings were stored under /buckets/.table-location-mappings
which fails bucket name validation because it starts with a dot. Moving them to
/etc/s3tables resolves the migration error for upgrades.
Changes:
- Table location mappings now stored under /etc/s3tables
- Ensure parent /etc directory exists before creating /etc/s3tables
- Normal writes go to new location only (no legacy compatibility)
- Removed bucket name validation exception for old location
* refactor: simplify lookupTableLocationMapping by removing redundant mappingPath parameter
The mappingPath function parameter was redundant as the path can be derived
from mappingDir and bucket using path.Join. This simplifies the code and
reduces the risk of path mismatches between parameters.
2026-02-26 15:35:13 -08:00
..
2026-01-28 14:34:07 -08:00
2026-02-16 13:59:13 -08:00
2026-01-07 13:06:08 -08:00
2026-02-25 12:31:04 -08:00
2026-02-25 12:31:04 -08:00
2025-12-13 19:04:12 -08:00
2026-01-07 13:06:08 -08:00
2026-02-12 12:04:07 -08:00
2026-02-26 15:35:13 -08:00
2024-07-04 11:00:41 -07:00
2026-02-20 18:40:47 -08:00
2026-02-13 22:49:27 -08:00
2026-02-26 14:20:42 -08:00
2026-01-12 10:45:24 -08:00
2026-02-26 14:20:42 -08:00
2026-02-26 14:20:42 -08:00
2026-02-26 14:20:42 -08:00
2025-11-26 12:24:02 -08:00
2026-02-03 11:55:12 -08:00
2026-02-16 13:59:13 -08:00
2026-02-26 14:20:42 -08:00
2026-02-26 14:20:42 -08:00
2026-02-16 13:59:13 -08:00
2026-01-03 10:09:59 -08:00
2026-02-26 14:20:42 -08:00
2026-01-07 13:06:08 -08:00
2026-02-10 11:28:29 -08:00
2026-02-10 11:28:29 -08:00
2026-02-26 15:35:13 -08:00
2025-12-20 15:25:47 -08:00
2025-08-11 10:31:01 -07:00
2025-12-29 20:17:23 -08:00
2025-12-04 14:51:37 -08:00
2025-11-18 23:18:35 -08:00
2026-02-09 11:45:57 -08:00
2026-02-09 11:45:57 -08:00
2026-01-07 13:06:08 -08:00
2025-11-18 23:18:35 -08:00
2026-02-18 18:20:03 -08:00
2026-02-16 13:59:13 -08:00
2026-02-19 22:52:05 -08:00
2025-12-22 23:19:50 -08:00
2024-07-04 11:00:41 -07:00
2026-01-23 16:41:51 -08:00
2025-12-13 14:33:46 -08:00
2025-12-27 12:25:33 -08:00
2026-01-12 10:45:24 -08:00
2025-08-22 01:15:42 -07:00
2026-01-07 13:06:08 -08:00
2025-11-13 16:10:46 -08:00
2026-02-25 12:31:04 -08:00
2025-08-30 11:15:48 -07:00
2026-02-25 12:31:04 -08:00
2026-01-16 11:12:28 -08:00
2025-11-13 16:10:46 -08:00
2025-12-26 13:21:15 -08:00
2026-02-25 12:31:04 -08:00
2026-02-25 12:31:04 -08:00
2025-11-12 22:14:50 -08:00
2025-11-12 22:14:50 -08:00
2026-01-12 10:45:24 -08:00
2026-01-16 11:12:28 -08:00
2025-08-21 08:28:07 -07:00
2025-10-23 20:10:12 -07:00
2025-08-21 08:28:07 -07:00
2026-02-04 22:57:41 -08:00
2025-10-23 20:10:12 -07:00
2025-11-18 23:18:35 -08:00
2025-08-22 01:15:42 -07:00
2025-08-21 08:28:07 -07:00
2025-08-21 08:28:07 -07:00
2025-08-22 01:15:42 -07:00
2025-11-18 23:18:35 -08:00
2025-08-21 08:28:07 -07:00
2025-10-23 20:10:12 -07:00
2026-02-04 22:57:41 -08:00
2025-10-27 23:04:55 -07:00
2025-11-18 23:18:35 -08:00
2025-11-28 13:28:17 -08:00
2026-02-16 13:59:13 -08:00
2025-10-23 20:10:12 -07:00
2025-11-18 23:18:35 -08:00
2025-12-23 14:48:50 -08:00
2025-10-27 23:04:55 -07:00
2026-01-07 13:06:08 -08:00
2025-10-13 18:05:17 -07:00
2026-01-07 13:06:08 -08:00
2025-12-30 12:40:59 -08:00
2026-02-07 13:27:47 -08:00
2025-10-29 13:43:27 -07:00
2026-02-12 16:46:05 -08:00
2026-02-07 13:27:47 -08:00
2026-02-03 11:55:12 -08:00
2026-02-19 22:56:50 -08:00
2025-08-21 08:28:07 -07:00
2026-02-12 23:11:41 -08:00
2026-01-26 22:59:43 -08:00
2026-02-07 13:27:47 -08:00
2025-08-21 08:28:07 -07:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2025-12-24 19:07:08 -08:00
2025-08-22 01:15:42 -07:00
2025-08-21 08:28:07 -07:00
2025-10-24 01:45:22 -07:00
2026-02-25 12:31:04 -08:00
2026-02-25 10:30:05 -08:00
2026-01-07 13:06:08 -08:00
2026-02-06 21:54:43 -08:00
2026-02-03 11:55:12 -08:00
2026-01-07 13:06:08 -08:00
2026-02-07 13:27:47 -08:00
2026-02-03 11:55:12 -08:00
2026-01-07 13:06:08 -08:00
2026-01-22 16:56:35 -08:00
2026-02-08 20:06:32 -08:00
2025-11-28 13:28:17 -08:00
2026-02-07 13:27:47 -08:00
2026-02-20 21:01:31 -08:00
2026-02-10 18:38:38 -08:00
2026-01-17 18:40:48 -08:00
2026-01-02 15:52:37 -08:00
2026-02-23 23:45:08 -08:00
2025-12-30 14:54:37 -08:00
2026-02-23 23:45:08 -08:00
2026-02-18 15:40:08 -08:00
2025-12-24 19:07:08 -08:00
2026-02-08 20:06:32 -08:00
2025-11-21 14:48:41 -08:00
2026-02-18 15:40:08 -08:00
2025-07-19 00:49:56 -07:00
2026-02-08 20:06:32 -08:00
2026-02-06 21:54:43 -08:00
2026-02-18 17:14:54 -08:00
2025-07-18 02:19:50 -07:00
2025-07-18 22:25:58 -07:00
2025-12-29 23:54:00 -08:00
2025-11-20 11:42:22 -08:00
2026-02-07 13:27:47 -08:00
2026-02-07 13:27:47 -08:00
2024-04-27 07:39:22 -07:00
2025-11-18 23:18:35 -08:00
2026-02-16 13:59:13 -08:00
2025-12-09 10:24:35 -08:00
2025-12-18 21:19:44 -08:00
2026-01-27 07:45:24 -08:00
2026-02-16 13:59:13 -08:00
2026-02-26 14:20:42 -08:00
2025-12-28 14:07:58 -08:00
2026-02-07 13:27:47 -08:00
2025-11-18 23:18:35 -08:00
2025-11-18 23:18:35 -08:00
2025-11-18 23:18:35 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2026-02-23 22:59:53 -08:00
2026-02-23 22:59:53 -08:00
2026-02-10 17:57:08 -08:00
2026-02-19 22:52:05 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2026-02-07 13:27:47 -08:00
2024-07-04 11:00:41 -07:00
2025-08-14 20:38:03 -07:00
2025-09-17 19:04:51 -07:00
2026-02-16 13:59:13 -08:00
2025-07-28 02:49:43 -07:00
2026-01-30 22:57:05 -08:00