Skip to content

Commit

Permalink
data_gap needed bigint start_id and end_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed May 31, 2012
1 parent b7e195d commit 9e58327
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -344,8 +344,8 @@
</table>

<table name="data_gap" description="Used only when routing.data.reader.type is set to 'gap.' Table that tracks gaps in the data table so that they may be processed efficiently, if data shows up. Gaps can show up in the data table if a database transaction is rolled back.">
<column name="start_id" type="INTEGER" required="true" primaryKey="true" description="The first missing data_id from the data table where a gap is detected. This could be the last data_id inserted plus one." />
<column name="end_id" type="INTEGER" required="true" primaryKey="true" description="The last missing data_id from the data table where a gap is detected. If the start_id is the last data_id inserted plus one, then this field is filled in with a -1." />
<column name="start_id" type="BIGINT" required="true" primaryKey="true" description="The first missing data_id from the data table where a gap is detected. This could be the last data_id inserted plus one." />
<column name="end_id" type="BIGINT" required="true" primaryKey="true" description="The last missing data_id from the data table where a gap is detected. If the start_id is the last data_id inserted plus one, then this field is filled in with a -1." />
<column name="status" type="CHAR" size="2" description="GP, SK, or FL. GP means there is a detected gap. FL means that the gap has been filled. SK means that the gap has been skipped either because the gap expired or because no database transaction was detected which means that no data will be committed to fill in the gap." />
<column name="create_time" type="TIMESTAMP" required="true" description="Timestamp when this entry was created." />
<column name="last_update_hostname" type="VARCHAR" size="255" description="The host who last updated this entry." />
Expand Down

0 comments on commit 9e58327

Please sign in to comment.