Skip to content

Fork safety#40

Merged
comewalk merged 2 commits intosixapart:masterfrom
charsbar:fork_safety
Oct 29, 2020
Merged

Fork safety#40
comewalk merged 2 commits intosixapart:masterfrom
charsbar:fork_safety

Conversation

@charsbar
Copy link
Contributor

This PR is reimplementation of #27. This PR does not tweak the transaction level of DOD because forking in a transaction is a bad idea by itself. This PR also uses AutoInactiveDestroy, instead of InactiveDestroy for simplicity.

@comewalk comewalk self-requested a review October 29, 2020 05:16
Copy link
Member

@comewalk comewalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job 👍

I ran prove -lv t/60-fork.t with both DOD_FORK_SAFE=1 and DOD_FORK_SAFE=0. These results were as I expected 😃

@comewalk comewalk merged commit c73dfda into sixapart:master Oct 29, 2020
comewalk added a commit that referenced this pull request Oct 29, 2020
Changelog diff is:

diff --git a/Changes b/Changes
index 86eb37e..c55ccb1 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
 {{$NEXT}}
 
+0.21 2020-10-29T05:54:05Z
+    - Add GitHub Actions #38
+    - Support DBD::MariaDB #39
+    - Fork safety #40
+
 0.20 2020-09-14T12:15:54Z
     - Fix tests (Thanks to eseyman) #36
     - Change license (Thanks to kentfredric) #34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants