|Some answers inline.|
On Jan 28, 2013, at 6:20 PM, Meghdoot <meghdoot_b yahoo com> wrote:
Yes, this is correct. The git push only happens between your local repo and the repo on the haproxy gear. After that the code is rsync'd to the other gears.
Only on the haproxy gear
Yes, Sync gear calls the pre, and post scripts. But these are not git hooks.
The sync_gears.sh comes from the abstract cartridge which is inherited by the other cartridges. Its the same script no matter which cartridge you call it from.
Git push and sync are purely on the nodes. They do not interact with the broker so mongo is not notified of git pushes at the moment.
AFAIK, currently the node will not sync up. You will need to issue another git push for the sync to take place.