MCPcopy
hub / github.com/dgraph-io/dgraph / getGlobalEpoch

Method getGlobalEpoch

graphql/admin/admin.go:943–950  ·  view source on GitHub ↗
(ns uint64)

Source from the content-addressed store, hash-verified

941}
942
943func (as *adminServer) getGlobalEpoch(ns uint64) *uint64 {
944 e := as.globalEpoch[ns]
945 if e == nil {
946 e = new(uint64)
947 as.globalEpoch[ns] = e
948 }
949 return e
950}
951
952func (as *adminServer) incrementSchemaUpdateCounter(ns uint64) {
953 // Increment the Epoch when you get a new schema. So, that subscription's local epoch

Callers 2

resetSchemaMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected