Retry Scenarios For Upsert And Get

Hi,

I am doing operations like upsert and get in Couchbase…
Wanted to know the exceptions for which retry makes sense and is advisable for both UPSERT and GET.
Also a simple and advisable example for retry would be pretty helpful.
Please advise.

Thanks,
Arnab