mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 00:09:35 +00:00
## Summary Makes the compactor's bloom-filter **build side** enterprise-only by moving it into the `o2-enterprise` crate (see openobserve/o2-enterprise#1889). The search-side pruner and shared `infra::bloom` SBBF support are unchanged. - Delete `src/service/compact/bloom_build.rs` and `src/service/tantivy/bloom_builder.rs` — they now live in `o2_enterprise::enterprise::bloom`. - Gate the `merge.rs` build hook behind `#[cfg(feature = "enterprise")]`, calling `o2_enterprise::enterprise::bloom::compact::build_for_stream`. In non-enterprise builds the hook is a no-op. - Drop the now-unused `get_tantivy_directory` re-export from `grpc::storage`. ## Dependency Requires openobserve/o2-enterprise#1889 (the enterprise build is broken until that lands). ## Test plan - [x] `cargo check --bin openobserve` (OSS, default features) — warning-clean - [x] `cargo check --bin openobserve --features enterprise` — gated call site resolves - [x] `cargo check -p o2_enterprise` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>