I recently found a gem buried in the internal Meta wiki that described how dynamic config is created and managed for all the family apps of Meta/Facebook, serving billions of users every day.
The research paper is not very new, but still very valuable, and most importantly, freely accessible to public at: https://research.fb.com/wp-content/uploads/2016/11/holistic-configuration-management-at-facebook.pdf
Sometimes my git history got messed up due to some strange issues. I use the following quick/dirty way to create a clean new branch.
Step 1: use the “git clone” command to clone the master branch to a separate new folder
Step 2: rsync the changed content of your old branch to the new folder excluding the .git subfolder
rsync -avz --exclude .git old-folder/ new-folder
Step 3: create a new branch out of the new folder and then push
$ cd new-folder
$ git checkout -b my-new-branch
Lastly, we can avoid lots of hassles if using “git pull –rebase” instead of the simple “git pull” command.
show full processlist;
show engine innodb status;
ALTER TABLE my_tableÂ AUTO_INCREMENT = 1000000;