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
Looking at the source code, it looks like the answer is no. Not sure how libcouchbase handles it, but start_link will take a bucket, but if called again with another bucket it says "already open" or something like that.
Feel free to close this as wontfix if it's out the scope of what you need cberl for.
Mainly want to know if there's a way to do it and I'm missing it.
The text was updated successfully, but these errors were encountered:
You can create two separate connections (or connection pools, rather), each to a different bucket. I believe lcb does let you interact with multiple buckets from a single connection, cberl is just not structured this way right now.
The question is, are there situations where having multiple connections for multiple buckets is unacceptable? I've never run into this use-case, but it might be worth supporting.
Looking at the source code, it looks like the answer is no. Not sure how libcouchbase handles it, but start_link will take a bucket, but if called again with another bucket it says "already open" or something like that.
Feel free to close this as wontfix if it's out the scope of what you need cberl for.
Mainly want to know if there's a way to do it and I'm missing it.
The text was updated successfully, but these errors were encountered: