aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_client/models/entity_edit.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-09 13:51:54 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-09 13:51:56 -0700
commit2732c2e3ba50f28c4c8a3b244783bc70d04806fa (patch)
treef55c357663d9467fd5648850a04b5b54d42fadfe /python/fatcat_client/models/entity_edit.py
parent51f2dcada8588de2f8cde2f874b955fefbd01e97 (diff)
downloadfatcat-2732c2e3ba50f28c4c8a3b244783bc70d04806fa.tar.gz
fatcat-2732c2e3ba50f28c4c8a3b244783bc70d04806fa.zip
changelog ID as a sequence
As noted elsewhere, auto-increment sequences in postgres, mysql, and cockroach can have gaps: when transactions that increment a number are rolled back, a "gap" is left. I didn't realize this, and it's problematic for the external changelog API. I'll need to re-write the changelog inserter to query for the current highest number when inserting, which is unfortunate and might slow down bulk imports.
Diffstat (limited to 'python/fatcat_client/models/entity_edit.py')
0 files changed, 0 insertions, 0 deletions