question history:
question 
75 views

Autotester PUT test case

There is a test case in the autotester that sends this message to KVServer:

put @12347 -/() abc def

The server returned a SERVER_NOT_RESPONSIBLE error in my case, failing the test case. Perhaps this case checks if messages are routed to the correct KVServer, but what if our retry logic is in my implementation of KVClient, which isn't being used at all by the autotester?

 2
Updated by Anonymous Helix

the students' answer,

where students collectively construct a single answer

It is not related to the retry logic.

By the time when the tester client issues put "@12347", it already connects to the correct node that is in charge of the key "@12347" based on your previous "keyrange_success" response.

So in this test case, your server should not return "SERVER_NOT_RESPONSIBLE".

If you can share the logs under the tester's "Interaction" section, it would be helpful to figure out which part caused the failure.

 0
Updated by Luke
followup discussionsfor lingering questions and comments