forked from huawei/openGauss-server
report wdr snapshot table statistics
This commit is contained in:
parent
217801b8e6
commit
ba1300e7bb
|
|
@ -1444,6 +1444,9 @@ void SnapshotNameSpace::SubSnapshotMain(void)
|
|||
SnapshotNameSpace::take_snapshot();
|
||||
PopActiveSnapshot();
|
||||
finish_xact_command();
|
||||
if (OidIsValid(u_sess->proc_cxt.MyDatabaseId)) {
|
||||
pgstat_report_stat(true);
|
||||
}
|
||||
ereport(LOG, (errcode(ERRCODE_SUCCESSFUL_COMPLETION), errmsg("WDR snapshot end")));
|
||||
|
||||
/* a snapshot has token on next_timestamp, we need get next_timestamp */
|
||||
|
|
|
|||
Loading…
Reference in New Issue