You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure metadata purge interval to 1 hour in CBS setup
The previous Docker configuration did not explicitly set the metadata
purge interval, relying on CBS default (3 days). This made tombstone
purge testing impractical.
Changes:
- Add configureBucketCompaction() function to set metadata purge interval
- Set to 0.04 days (1 hour) - the CBS minimum per documentation
- Execute during initial cluster setup after bucket creation
- Add explicit logging for this configuration step
This configuration is critical for testing tombstone behavior with
Sync Gateway, as it controls when tombstones are permanently removed
from CBS after deletion.
With the default 3-day interval, testing would require waiting days
to observe purge behavior. The 1-hour minimum allows practical testing
while respecting CBS constraints.
References:
- Couchbase docs: metadata purge interval minimum is 0.04 days (1 hour)
- Thomas's recommendation in ticket 70596
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments