Commit 6d02652
fix: Add config option to skip filepath checksum on insert
Adds `filepath_checksum_size_limit_insert` config option to skip checksum
computation on insert for files larger than the specified limit. This
prevents transaction timeouts when inserting large files with filepath
attributes in three-part `make()` methods.
Config options:
- `filepath_checksum_size_limit`: skip checksum verification on fetch (existing)
- `filepath_checksum_size_limit_insert`: skip checksum computation on insert (new)
When checksum is skipped on insert:
- A warning is logged
- contents_hash is stored as NULL
- Existing file verification is bypassed
Fixes #1386
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 5d644c9 commit 6d02652
2 files changed
+21
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
280 | 292 | | |
281 | 293 | | |
282 | 294 | | |
283 | 295 | | |
284 | 296 | | |
285 | | - | |
| 297 | + | |
286 | 298 | | |
287 | 299 | | |
288 | 300 | | |
| |||
291 | 303 | | |
292 | 304 | | |
293 | 305 | | |
294 | | - | |
| 306 | + | |
295 | 307 | | |
296 | 308 | | |
297 | 309 | | |
298 | 310 | | |
299 | | - | |
| 311 | + | |
300 | 312 | | |
301 | 313 | | |
302 | | - | |
| 314 | + | |
303 | 315 | | |
304 | 316 | | |
305 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
0 commit comments