I am using couchbase for sometimes and facing a strange behaviour and can’t find any solution.
I am doing an INSERT into db and just after that I am trying to update just a value of a single key of another document. But this is not happening for some first attempts, meaning, if I do like 10 updates, from 5th attempt the value will update fine. But before that it will stay same. Strange!
This is the query I am using
USE KEYS ‘event::$eventId’
SET child_counter = $theValue
I tried with running the same above query 3/4 times, but that child_counter value isn’t updated. But if I run this query from the couchbase query tool, it works.
Can anyone please help me! It is months and I still am failing to solve the situation. Thanks!