Skip to content

AUE-23: When key doesn't exist, prohibits reject rules specifying ver…#35

Merged
OferMania merged 1 commit intoBeStateless:masterfrom
OferMania:23
Jun 14, 2021
Merged

AUE-23: When key doesn't exist, prohibits reject rules specifying ver…#35
OferMania merged 1 commit intoBeStateless:masterfrom
OferMania:23

Conversation

@OferMania
Copy link
Copy Markdown
Contributor

…sionNE or versionLE

  • This breaks changesets for nfapp, since using any old version to update
    a key incorrectly resurrects it from the dead, undoing the hard work
    of the nfapp table cleaner

  • Also adds ability to output logs for RAMCloud test cluster, great for debugging

…sionNE or versionLE

- This breaks changesets for nfapp, since using any old version to update
    a key incorrectly resurrects it from the dead, undoing the hard work
    of the nfapp table cleaner

- Also adds ability to output logs for RAMCloud test cluster, great for debugging
for table_name in table_names:
r.drop_table(table_name)

def output_logs_detached(docker_containers, path="/src/tmp"):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what does "detached" mean here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We are not attached to a ClusterTestUtil object that brings up the test cluster from scratch, instead, we're detached from that cluster, but still trying to connect to it to get logs.

Copy link
Copy Markdown
Contributor

@james-munson james-munson left a comment

Choose a reason for hiding this comment

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

Just one minor suggestion on the test scaffold. Patch looks good.

parser.add_argument('--nodes', '-n', type=int, default=3,
help="Number of zk, rc-coordinator, and rc-server instances to bring up. Only relevant when there's no cluster up yet. Default is 3")
parser.add_argument('--path', '-p', type=str, default="/src/tmp",
help="Path to place logs in when action is set to \"log\"")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perhaps it would be clearer to name the option and the variable "log_path".

@OferMania OferMania merged commit f317157 into BeStateless:master Jun 14, 2021
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.

4 participants