summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2020-04-16 09:29:28 +0800
committerStephen Finucane <stephen@that.guru>2020-04-18 12:30:39 +0100
commit55fb26bf5bb3ca81ae35426efa9b2410e206c8b2 (patch)
tree7047c0c21ff4fdf0c8f8d64ba39d18d295f199e9 /releasenotes
parent55aa9cd749f3ff0de430c8f04c687d691c3a703a (diff)
downloadpatchwork-55fb26bf5bb3ca81ae35426efa9b2410e206c8b2.tar
patchwork-55fb26bf5bb3ca81ae35426efa9b2410e206c8b2.tar.gz
parser: don't trigger database IntegrityErrors on duplicate coverletters
As we've done for the Patch and Comment models, this change prevents database errors from duplicate CoverLetters. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Stephen Finucane <stephen@that.guru> [stephenfin: Add release note]
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/issue-358-7d664318a19385fa.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/releasenotes/notes/issue-358-7d664318a19385fa.yaml b/releasenotes/notes/issue-358-7d664318a19385fa.yaml
new file mode 100644
index 0000000..a0eeaa0
--- /dev/null
+++ b/releasenotes/notes/issue-358-7d664318a19385fa.yaml
@@ -0,0 +1,7 @@
+---
+fixes:
+ - |
+ The parser module now uses an atomic select-insert when creating new patch,
+ cover letter and comment entries. This prevents the integrity errors from
+ being logged in the DB logs.
+ (`#358 <https://github.com/getpatchwork/patchwork/issues/358>`__)