Couchbase 同步网关:: 在文档中进行一些更新之后。我没有立即看到更新
Couchbase sync gateway:: After make some update in document. I not get immediately update in view
如果我在 Couchbase Sync Gateway 中添加新文档并尝试从视图中获取,我不会立即获取该文档,但一段时间后我会获取该文档。
我想念什么??
我做了一些测试并对此进行了罚款 post。
Thanks @shirshir for suggesting that. You're right - for Couchbase
Server 3.0 and higher, the indexable flag is no longer required on
write for a 'read-your-own-write' scenario - you should be able to do
a standard write and then a query with stale=false to see that data.
For Couchbase Server versions 2.x I believe you'd still need to force
persistence (with Indexable) on the write to ensure you're going to
see the results in your stale=false query.
我也用那个标志,现在它工作正常。
如果我在 Couchbase Sync Gateway 中添加新文档并尝试从视图中获取,我不会立即获取该文档,但一段时间后我会获取该文档。
我想念什么??
我做了一些测试并对此进行了罚款 post。
Thanks @shirshir for suggesting that. You're right - for Couchbase Server 3.0 and higher, the indexable flag is no longer required on write for a 'read-your-own-write' scenario - you should be able to do a standard write and then a query with stale=false to see that data.
For Couchbase Server versions 2.x I believe you'd still need to force persistence (with Indexable) on the write to ensure you're going to see the results in your stale=false query.
我也用那个标志,现在它工作正常。