Skip to content

Remove ff/fb terminology in code#1206

Merged
makalaaneesh merged 16 commits intomainfrom
aneesh/ff-fb-remove
Dec 20, 2023
Merged

Remove ff/fb terminology in code#1206
makalaaneesh merged 16 commits intomainfrom
aneesh/ff-fb-remove

Conversation

@makalaaneesh
Copy link
Collaborator

@makalaaneesh makalaaneesh commented Nov 21, 2023

  • Remove notions of "fallback/fall-forward setup/sync"
  • Simplify implementation of cutover triggers

DBZM PR: yugabyte/debezium#99

@makalaaneesh
Copy link
Collaborator Author

@makalaaneesh makalaaneesh marked this pull request as ready for review November 23, 2023 06:15
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@makalaaneesh take a look at line no 158

No fall-forward/back enabled. Exiting.

ExportType string `json:"ExportType"`
// FallForwarDBExists bool `json:"FallForwarDBExists"`
ArchivingEnabled bool `json:"ArchivingEnabled"`
FallForwardEnabled bool `json:"FallForwardEnabled"`
Copy link
Contributor

@sanyamsinghal sanyamsinghal Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you going to rename this also?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I consciously did not. My thought process is:
Rename everything related to

  • setup/synchronize
  • fallforwardDB->sourceReplicaDB
  • fallforward/back switchover -> cutover to *

It still makes sense to have the notion of the fall-forward/fall-back "workflows" as such.
In this example, because we are importing to source-replica, the "fallforward workflow" is enabled. Another example is that during cutover we have a flag "--prepare-for-fall-back".

So we still have that terminology, but just in the context of the workflows; and not in the context of commands/DBs. Makes sense?

Copy link
Contributor

@amit-yb amit-yb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@makalaaneesh
Copy link
Collaborator Author

@makalaaneesh makalaaneesh merged commit cee3e13 into main Dec 20, 2023
@makalaaneesh makalaaneesh deleted the aneesh/ff-fb-remove branch December 20, 2023 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants