Skip to content

Commit 372bb62

Browse files
committed
fix(admin_cbt): read from admin_cbt_incremental instead of admin_cbt
The incremental table is now the authoritative source for admin CBT data, ensuring queries reflect the latest updates.
1 parent 1cde15f commit 372bb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/pkg/server/internal/service/xatu_cbt/admin_cbt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ FROM (
155155
table,
156156
min(%s) AS min_position,
157157
max(%s) + argMax(%s, %s) AS max_position_end
158-
FROM %s.admin_cbt FINAL
158+
FROM %s.admin_cbt_incremental FINAL
159159
WHERE (database, table) IN (%s)
160160
GROUP BY database, table
161161
)`,

0 commit comments

Comments
 (0)