17 lines
2.3 KiB
XML
17 lines
2.3 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="720" viewBox="0 0 1200 720" role="img" aria-labelledby="title desc">
|
|
<title id="title">Фазы expand switch contract</title>
|
|
<desc id="desc">Временная линия показывает добавление совместимой формы, двойную запись, переключение чтения и удаление старой формы только после проверки.</desc>
|
|
<rect width="1200" height="720" fill="#101827"/>
|
|
<text x="60" y="75" fill="#f8fafc" font-family="Arial, sans-serif" font-size="38" font-weight="700">Миграция схемы: совместимые фазы</text>
|
|
<text x="60" y="115" fill="#b8c6dc" font-family="Arial, sans-serif" font-size="22">Старый и новый код должны сосуществовать до удаления формы</text>
|
|
<line x1="120" y1="300" x2="1080" y2="300" stroke="#5d7394" stroke-width="8" stroke-linecap="round"/>
|
|
<g font-family="Arial, sans-serif" text-anchor="middle">
|
|
<circle cx="190" cy="300" r="30" fill="#7dd3fc"/><circle cx="480" cy="300" r="30" fill="#a7f3d0"/><circle cx="770" cy="300" r="30" fill="#fbbf24"/><circle cx="1010" cy="300" r="30" fill="#fb7185"/>
|
|
<text x="190" y="365" fill="#e0f2fe" font-size="25" font-weight="700">Expand</text><text x="190" y="397" fill="#cbd5e1" font-size="19">добавить поле</text>
|
|
<text x="480" y="365" fill="#d1fae5" font-size="25" font-weight="700">Dual write</text><text x="480" y="397" fill="#cbd5e1" font-size="19">обе формы</text>
|
|
<text x="770" y="365" fill="#fef3c7" font-size="25" font-weight="700">Switch</text><text x="770" y="397" fill="#cbd5e1" font-size="19">новое чтение</text>
|
|
<text x="1010" y="365" fill="#ffe4e6" font-size="25" font-weight="700">Contract</text><text x="1010" y="397" fill="#cbd5e1" font-size="19">удалить старое</text>
|
|
<rect x="200" y="510" width="800" height="100" rx="18" fill="#173b38" stroke="#86efac" stroke-width="3"/><text x="600" y="553" fill="#d1fae5" font-size="25" font-weight="700">Проверка данных и потребителей</text><text x="600" y="586" fill="#bbf7d0" font-size="20">нужна до contract и до окончательного rollback</text>
|
|
</g>
|
|
</svg>
|