Skip to content

IN 1791 - Disable row count integrity checks - #213

Merged
ghukill merged 2 commits into
mainfrom
IN-1791-row-count-ics
Jul 27, 2026
Merged

IN 1791 - Disable row count integrity checks#213
ghukill merged 2 commits into
mainfrom
IN-1791-row-count-ics

Conversation

@ghukill

@ghukill ghukill commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Purpose and background context

Why these changes are being introduced:

After disabling the integrity check for Employee Appointments that ensures we don't have more rows in Quickbase than the data warehouse (#212), which was preventing the updating of data, we are seeing this again for another table Employee Salary History.

After some analysis, the issue appears benign. It would seem that sometimes data that once came through in the data warehouse, is not found in later runs (e.g. pre-library appointments for employees who have left the library, end of leave when correlated with a position change). They are uniformly edge cases.

It has been determined that keeping the data in Quickbase which we did accurately capture once is more valuable, at this time, then deleting data to satisfy these integrity checks as-is. That said, these checks theoretically would catch unrelated bugs and regressions.

How this addresses that need:

At this time, the decision is to disable these simple row count integrity checks, but keep them in code if we elect to revisit them later.

Includes new or updated dependencies?

NO

Changes expectations for external applications?

YES: Data may accumulate in Quickbase that is no longer available from the data warehouse; often desirable, though sometimes indicates an error or bug.

What are the relevant tickets?

ghukill added 2 commits July 27, 2026 14:32
Why these changes are being introduced:

After disabling the integrity check for `Employee Appointments` that ensures
we don't have more rows in Quickbase than the data warehouse, which was
preventing the updating of data, we are seeing this again for another
table `Employee Salary History`.

After some analysis, the issue appears begign.  It would seem that
sometimes data that once came through in the data warehouse, is not
found in later runs (e.g. pre-library appointments for employees who
have left the library, end of leave when correlated with a position
change).  They are uniformly edge cases.

It has been determined that keeping the data in Quickbase which we
did accurately capture once is more valuable, at this time, then
deleting data to satisfy these integrity checks as-is.  That said,
these checks theoretically would unrelated bugs and regressions.

How this addresses that need:

At this time, the decision is to disable these simple row count
integrity checks, but keep them in code if we elect to revisit
them later.

Side effects of this change:
* Data may accumulate in Quickbase that is no longer available
from the data warehouse; often desirable, though sometimes indicates
an error or bug.

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IN-1791
@ghukill
ghukill marked this pull request as ready for review July 27, 2026 19:15
@ghukill
ghukill requested a review from a team July 27, 2026 19:16
@ghukill
ghukill merged commit 41343c1 into main Jul 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants