Skip to content

updates to pass aws configs to merge and support s3#5

Merged
schenksj merged 1 commit into
mainfrom
multi_platform_pom_fixes
Sep 1, 2025
Merged

updates to pass aws configs to merge and support s3#5
schenksj merged 1 commit into
mainfrom
multi_platform_pom_fixes

Conversation

@schenksj
Copy link
Copy Markdown
Collaborator

@schenksj schenksj commented Sep 1, 2025

No description provided.

@schenksj schenksj merged commit 1bd9e80 into main Sep 1, 2025
@schenksj schenksj deleted the multi_platform_pom_fixes branch September 1, 2025 16:46
schenksj added a commit that referenced this pull request Mar 23, 2026
…t assertions

Review issue #1 (panic! in production): All panic! calls confirmed to be in
#[cfg(test)] blocks only. Improved messages with {:?} formatting for better
debugging (e.g., "expected Add, got {:?}").

Review issue #2+4 (cache race condition + unwrap): Replaced peek()+unwrap()
pattern in TimedLruCache::get() with direct get() that atomically checks
existence and promotes in LRU order. No unwrap() remaining in the code path.
Note: the original code was technically safe (write lock held), but the new
pattern is clearer and eliminates the unwrap entirely.

Review issue #3 (credential exposure): Verified all debug_println! calls log
only storage paths and version numbers — never credentials. The macro is
no-op unless TANTIVY4JAVA_DEBUG=1 environment variable is set.

Review issue #5 (silent JSON parse failures): Changed metadata_config_json
parsing in JNI readManifest and readPostCheckpointChanges to throw
RuntimeException on malformed JSON instead of silently falling back to empty.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant