Commit 7308eab
fix: guard Layer3.search_raw against None doc/metadata
Port upstream fix from mempalace#1011 - ChromaDB may return None
for doc/meta when a drawer's HNSW entry exists but its
metadata/document rows haven't been materialized (partial-flush
states, mid-delete, schema upgrade boundaries). Now degrades
gracefully with fallback values.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fb9b0c6 commit 7308eab
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
329 | 335 | | |
330 | 336 | | |
331 | 337 | | |
332 | 338 | | |
333 | 339 | | |
334 | | - | |
| 340 | + | |
335 | 341 | | |
336 | 342 | | |
337 | 343 | | |
| |||
0 commit comments