aboutsummaryrefslogtreecommitdiff
path: root/doc/quickstart
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-01-27 18:49:37 -0500
committerRob Austein <sra@hactrn.net>2017-01-27 18:49:37 -0500
commit9bcd874fc3f83e2517f89db122ed49cad4e9e599 (patch)
treec6b8c53cf6de3f636bb0fe74223a26dd91687a1c /doc/quickstart
parent824cdf673f5f26679d7fe7955060963e720066d6 (diff)
Accumulate primary keys instead of objects to work around Django caching.
This is nasty, and I still don't entirely understand it why this was happening. We collect ca_detail objects during bulk ROA processing, so that we can defer manifest and CRL updates until the end of the batch. Somehow, Django's caching code was causing the parent CA's issued serial number to roll back as part of this caching, which caused us to reuse serial numbers. Which is (very) bad. Replacing the collection of ca_detail objects with a collection of primary key values for those same ca_detail objects seems to have worked, presumably because it lets us force creation of a new queryset when it's time for us to process the relevant ca_detail objects. The question is how many other booby traps like this might be lurking.
Diffstat (limited to 'doc/quickstart')
0 files changed, 0 insertions, 0 deletions