CB 8.x New Feature w.r.t Filesystem Usage Limits

Hi Team,

In Couchbase 8.x, a new feature allows configuring a file system threshold value. When this threshold is reached, the data service stops writing to storage paths. We want to know if application code requires changes, such as exception handling, to detect when the threshold is reached.

Thanks,

Debasis

Hi Debasis,

The Couchbase SDKs report an error if you try something that would exceed the limit.

The error might look different depending on which SDK language and version you use. As a data point, Java SDK 3.10.0 throws a generic CouchbaseException.

We’re currently exploring whether it makes sense for the SDKs to return a more specific exception in this case.

Do you have feedback on whether your application would handle a hypothetical “filesystem limit exceeded” exception differently from any other kind of storage failure?

Thanks,
David

1 Like