Skip to content

Commit c16512e

Browse files
author
sjcjoosten
committed
minor textual edits
1 parent bdf30f7 commit c16512e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

2022Migration/articleMigrationRaMiCS.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ \subsection{Generating a migration script}
657657
Let $\pair{\dataset}{\schema}$ be the existing system.
658658
Let $\pair{\dataset'}{\schema'}$ be the desired system in its initial state.
659659
\begin{enumerate}
660-
\item We take a disjoint union of the data sets by relabeling relation names, so the migration script can refer to relations from both systems:
660+
\item We take a disjoint union of the data sets by relabeling relation symbols, so the migration script can refer to relations from both systems:
661661
\begin{align}
662662
\dataset_\migrsys={}&\overleftarrow{\dataset}\cup\overrightarrow{\dataset'}
663663
\end{align}
@@ -733,7 +733,7 @@ \subsection{Generating a migration script}
733733
\transactions_2\ =\ \{{\tt fixed}_u\mapsfrom\lambda\dataset.~\cmpl{\viol{u}{\dataset} \cup \pop{{\tt fixed}_u}{\dataset}}\mid u\in\overrightarrow{\rules_{\schema'}-\rules_{\schema}}\}\label{eqn:enforceForRules}
734734
% Opmerking van SJC: de {\tt fixed}_u aan de rechterkant is nodig om aan (\ref{eqn:transaction}) te voldoen.
735735
\end{equation}
736-
\item\label{step5} To signal users that there are violations that need to be fixed, we generate a business constraint for each new blocking invariant $u$:
736+
\item\label{step5} To signal users that there are violations that need to be fixed, we generate a business constraint for each new blocking invariant denoted by $u$:
737737
% \begin{verbatim}
738738
% ROLE User MAINTAINS TOTr
739739
% RULE TOTr : I |- new.r;new.r~
@@ -750,7 +750,7 @@ \subsection{Generating a migration script}
750750
&\mid u\in\overrightarrow{\rules_{\schema'}-\rules_{\schema}}\}\notag
751751
\end{align}
752752
In some cases, a migration engineer can invent ways to satisfy these invariants automatically.
753-
For this purpose, the generator must produce source code (as opposed to compiled code) to allow the migration engineer
753+
This is one of the places where it is useful for the generator to produce source code (as opposed to compiled code) to allow the migration engineer
754754
to replace a business constraint with transactional invariants of her own making.
755755
After all violations are fixed, i.e. when equation~\ref{eqn:readyForMoC} is satisfied,
756756
the migration engineer can switch the ingress to the desired system.

0 commit comments

Comments
 (0)