SQLAlchemy 1.4 Enabling Two-Phase Commit PoC
pip install -r requirements.txt- to run two DBs:
make run- to clean DBs:
make clean- to stop DBs:
make stop- DDLs:
python init_schema.py --help- The script:
python main.py --helpThis command will create different schema for Account (name replaced with full_name) in second database. When you try to commit regular Account with field name it'll throw an error because account table does not have such column.
python init_schema.py --break-schema
- for first run
make run- if it's already been run
make clean
python init_schema.py
python main.py --strategy 1- for first run
make run- if it's already been run
make clean
python init_schema.py --break-schema
python main.py --strategy 1