Skip to content

Commit 3b91a25

Browse files
author
Ish Shah
committed
add cache delay note
1 parent 5e2c4c8 commit 3b91a25

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,11 @@ limitations under the License.
8282
// and writes directly to the API server, but clients can be constructed that
8383
// only talk to the API server, without a cache. The Cache will auto-populate
8484
// with watched objects, as well as when other structured objects are
85-
// requested. Caches may also have indexes, which can be created via a
86-
// FieldIndexer (pkg/client) obtained from the manager. Indexes can used to
85+
// requested. The default split client does not promise to invalidate the cache
86+
// during writes (nor does it promise sequential create/get coherence), and code
87+
// should not assume a get immediately following a create/update will return
88+
// the updated resource. Caches may also have indexes, which can be created via
89+
// a FieldIndexer (pkg/client) obtained from the manager. Indexes can used to
8790
// quickly and easily look up all objects with certain fields set. Reconcilers
8891
// may retrieve event recorders (pkg/recorder) to emit events using the
8992
// manager.

0 commit comments

Comments
 (0)