Skip to content

Approaches for same server or not #7

@webian

Description

@webian

Hi @jasdeepkhalsa,
I can't get the reason why you use 2 different approaches if the comparison is between same servers or different.
I mean this code in method getDiff of TableData:

if ($server1 == $server2) {
  return $this->localTableData->getDiff($table, $sourceKey);
} else {
  return $this->distTableData->getDiff($table, $sourceKey);
}

Please, can you help me to understand?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions