Using the Dump Cache Value command
Use the Dump Cache Value command to submit a search key
and receive the related value from the cache of each node. The request asks
all nodes in a cluster to print out the value for the searched cache key to
the logs. The log entries indicate basic information about the cached
references. In particular, the
Tx timestamp
indicates the
time when the transaction that added the value to the cache was
started.In the examples below, only the response of a single node is provided. In practice, you will receive information from each node in the cluster.
Sample logged request and response - null response
Request:
[6/23/14 12:08:23:750 EDT] 00000059 diagnostics I [http:192.0.2.0:34675
admin@EXAMPLE.LOCAL] Broadcasting dump cache value request for key: (User
loginName "CustomerLoginName@EXAMPLE.LOCAL")
Response:
In this example, the null response suggests that the search key instance has not been cached at all. In the case when you are using a user search key, the easiest way to cache the desired instance is to log into the application as the user.
[6/23/14 11:47:08:140 EDT] 0000006c diagnostics I [ObjectSystemQueue
admin@EXAMPLE.LOCAL] Cached reference for key: (User loginName
"CustomerLoginName@EXAMPLE.LOCAL")
null
Sample logged request and response - node with a valid cached value
Request:
[6/23/14 12:08:23:750 EDT] 00000059 diagnostics I [http:192.0.2.0:34675
admin@EXAMPLE.LOCAL] Broadcasting dump cache value request for key: (User
loginName "CustomerLoginName@EXAMPLE.LOCAL")
Response:
[6/23/14 12:08:23:765 EDT] 000000a9 diagnostics I [ObjectSystemQueue
admin@EXAMPLE.LOCAL] Cached reference for key: (User loginName
"CustomerLoginName@EXAMPLE.LOCAL")
GenericDataCache$Ref@1767926112{key=(User loginName "CustomerLoginName@EXAMPLE.LOCAL"),
Tx timestamp=2014-06-23 12:06:25.736, value=UnitOfWork
$CachedInstance(TO<InternalUser, OID:1:V32:3ED0B094C84B4634B11044BF8C3192E8>(
entitySet={
OID:1:V32:EAFD401DB8C24B10A45C0DE3BA23E562
},
entityListSet={
OID:1:V32:3ED0B094C84B4634B11044BF8C3192E8
},
categorySet={},
alias="ratesttest",
favouriteUserList=TO<FavouriteUserList,
OID:1:V32:EEC91AC5CFE24B6BBFAE207C4798DB14>(),
loginName="CustomerLoginName@example.local",
principalSet={
OID:1:V32:00000000000010008000BEEF0000000A,
OID:1:V32:3ED0B094C84B4634B11044BF8C3192E8,
OID:1:V32:5C0D4539BE557A43B28C997E99ADF3AC
},
branchPrincipalSet={},
entitlementsHash=(),
optionBlock=TO<OptionBlock, OID:1:S23:CustomerLoginName@example.local>(
enableCopyMerge=#t,
timeEnforceMaxDuration=#f,
enableFinancialModel=#t,
enableRegisteredPlans=#t,
enableProducts=#f,
enableDisplayExternals=#f,
enableRecurringTaskOutboundSync=#t,
enableRecurringMeetingOutboundSync=#t,
enableExtendedCustomField=#f,
enablePortalAccess=#f,
enableServiceRequests=#f,
enableRecentDocuments=#t,
enableCampaigns=#t,
enableForcedBatchLogging=#f,
enableForAssignToFixup=#t,
enableMeetingInvitations=#t,
enableCreateFolder=#t,
enableNativeMsgListIntegration=#t,
enableRecurringMeetingInboundSync=#t,
enableMeetingAlarmSync=#t,
enableForContactSync=#t,
enableRecentEmails=#t,
enableTimeZones=#f,
enableLocalization=#t,
enableTaskAlarmSync=#t,
enableTimeTracking=#f,
enableUserFields=#t,
enableUsersAsContacts=#t,
enableRecentScheduleItems=#t,
enableFinancialAccounts=#t,
enableSlaveSync=#t,
forContactSyncWithSecurityCheck=#t,
enableMatchingDuringDataImport=#f,
enableHouseholds=#t,
autoCreateFolder=#f,
enableCanadaAddressLookup=#f,
timeEnforceOnActDay=#f,
enableAutoAssignTeam=#f,
enableInteractiveReports=#t,
enableCoverageQuickSearch=#t,
enableRelatedInfoNotes=#f,
enableOpportunities=#t,
enablePublicSchedTask=#f,
enableRecentTasks=#t,
enableRecentTaskRecurrence=#t,
enableParentCoverageUpdates=#t,
timeWarnDailyLimit=#f,
enableDefaultForContact=#t,
enableRecurringTaskInboundSync=#t,
enableContactTitleSync=#f,
enableRecentScheduleItemRecurrence=#t,
enableEvents=#t,
enableClientSideErrorLogging=#f,
enableRecentActivityPlans=#t
),
person=TO<UserPerson, OID:1:V32:EAFD401DB8C24B10A45C0DE3BA23E562>(
hasSyncList=#t,
classCode="USR",
syncList=TO<SyncEntityList, OID:1:V32:C61E252837154FFEAE265FFD3814EFA8>()
),
userListSet={
OID:1:V32:3ED0B094C84B4634B11044BF8C3192E8
},
privilegeSet=PrivilegeSet@823669016(mask=
0000FFBF93F7FC0F47FC73084CFD97800000124100000000180000802030C000200000208402),
firmPrincipalSet={
OID:1:V32:5C0D4539BE557A43B28C997E99ADF3AC
},
coverageTeamSet={},
aclPrincipalSet={
OID:1:V32:3ED0B094C84B4634B11044BF8C3192E8,
OID:1:V32:5C0D4539BE557A43B28C997E99ADF3AC
},
customFieldTypeSet={}
))}
Sample logged request and response - node with invalidated cache value
Request:
[6/23/14 12:08:23:750 EDT] 00000059 diagnostics I [http:192.0.2.0:34675
admin@EXAMPLE.LOCAL] Broadcasting dump cache value request for key: (User
loginName "CustomerLoginName@EXAMPLE.LOCAL")
Response:
[6/23/14 12:08:23:768 EDT] 0000002a diagnostics I [ObjectSystemQueue
admin@EXAMPLE.LOCAL] Cached reference for key: (User loginName
"CustomerLoginName@EXAMPLE.LOCAL")
GenericDataCache$RemovedRef@885929166{key=(User loginName
"CustomerLoginName@EXAMPLE.LOCAL"), Tx timestamp=2014-06-23 11:50:08.171,
value=java.lang.Object@5cae5cae}