Why don’t use available solution? All of them using ChatGPT. But I’m out of credits ;) Of course I want to learn something! How to generate git commit message? Git allows you to create hooks. Let’s use global one. Global hooks works without modifying every git repo. Create a directory for hooks: $ mkdir ~/.config/git/hooks/

In this post, I will discuss two phase commit (aka 2PC) distributed transaction commit protocol and some of the problems associated with it. What is a distributed commit protocol? A commit protocol is an algorithm used for atomically committing a transaction. Atomicity implies that either all the changes (writes / updates) in the transaction will…