Commit d8bc016
Fix S3 secret creation race condition for concurrent connections
Add mutex serialization for S3 secret creation to prevent DuckDB
write-write conflicts when multiple connections try to create the
ducklake_s3 secret simultaneously.
The fix:
- Adds duckLakeMu mutex to Server struct
- Serializes createS3Secret calls
- Checks if secret already exists before attempting creation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 104d5b2 commit d8bc016
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
| |||
358 | 361 | | |
359 | 362 | | |
360 | 363 | | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
361 | 376 | | |
362 | 377 | | |
363 | 378 | | |
| |||
0 commit comments