tweak comment, add validation TODO

This commit is contained in:
Matt Jaffee 2020-04-21 21:11:52 -05:00
parent afcb3e7f96
commit 7da137277c
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF
2 changed files with 2 additions and 1 deletions

View file

@ -134,7 +134,7 @@ func (tm *TransactionManager) Start(ctx context.Context, id string, timeout time
return trns, errors.Wrap(err, "adding to store")
}
// we won't check deadlines unless there's actually an exclusive
// we won't check deadlines unless there's actually a
// transaction pending
if exclusive && !active {
tm.startDeadlineChecker()

View file

@ -169,6 +169,7 @@ goes through API (and is passed directly to Server). (unimplemented)
- [ ] update go-pilosa/gpexp to actually USE transactions
- [ ] update IDK to use updated go-pilosa
- [ ] external testing with e.g. curl
- [ ] validate incoming transaction IDs
- ID validation. No slashes, no non-URL safe chars