MCPcopy Create free account
hub / github.com/apple/foundationdb / peek

Method peek

fdbserver/TagPartitionedLogSystem.actor.cpp:835–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

833}
834
835Reference<ILogSystem::IPeekCursor> TagPartitionedLogSystem::peek(UID dbgid,
836 Version begin,
837 Optional<Version> end,
838 Tag tag,
839 bool parallelGetMore) {
840 if (!tLogs.size()) {
841 TraceEvent("TLogPeekNoLogSets", dbgid).detail("Tag", tag.toString()).detail("Begin", begin);
842 return makeReference<ILogSystem::ServerPeekCursor>(
843 Reference<AsyncVar<OptionalInterface<TLogInterface>>>(), tag, begin, getPeekEnd(), false, false);
844 }
845
846 if (tag.locality == tagLocalityRemoteLog) {
847 return peekRemote(dbgid, begin, end, tag, parallelGetMore);
848 } else {
849 return peekAll(dbgid, begin, getPeekEnd(), tag, parallelGetMore);
850 }
851}
852
853Reference<ILogSystem::IPeekCursor> TagPartitionedLogSystem::peek(UID dbgid,
854 Version begin,

Callers 5

loadIniFileMethod · 0.45
execTaskFunction · 0.45

Calls 11

TraceEventClass · 0.85
peekAllFunction · 0.85
detailMethod · 0.80
peekFunction · 0.70
getMethod · 0.65
sizeMethod · 0.45
toStringMethod · 0.45
emptyMethod · 0.45
reserveMethod · 0.45
push_backMethod · 0.45
presentMethod · 0.45

Tested by

no test coverage detected