Skip to content

Commit

Permalink
removing snapshot table
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Nov 7, 2023
1 parent 61f4634 commit b9c7e96
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ui/app/mirrors/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,9 @@ export default async function Mirrors() {
return false;
});

let snapshotFlows = flows.filter((flow) => {
if (flow.config_proto && flow.query_string) {
let config = QRepConfig.decode(flow.config_proto);
return config.watermarkColumn.toLowerCase() === 'ctid';
}
return false;
});

stringifyConfig(cdcFlows);
stringifyConfig(qrepFlows);
stringifyConfig(xminFlows);
stringifyConfig(snapshotFlows);

return (
<LayoutMain alignSelf='flex-start' justifySelf='flex-start' width='full'>
Expand Down Expand Up @@ -105,9 +96,6 @@ export default async function Mirrors() {
<Panel className='mt-10'>
<QRepFlows title='XMIN Mirrors' qrepFlows={xminFlows} />
</Panel>
<Panel className='mt-10'>
<QRepFlows title='Snapshot Mirrors' qrepFlows={snapshotFlows} />
</Panel>
</LayoutMain>
);
}

0 comments on commit b9c7e96

Please sign in to comment.