Skip to content

Delete and Delete_multi not working #169

Description

@akhalil-xiq

When I tried to delete three keys in loop, it only deletes first and the following are not deleted. On the other hand, when I tried to use delete_multi(), it returns 0 always. I don't know the issue.
Here is a code:
`mc = Client([remote server IP])
for key in [digest_key, launchPadCompanies_key, heatmap_key]:
logger.info('Delete Res: ' + str(mc.delete(key)))

#     count = 0
#     while count < 3:
#     res = mc.delete_multi([digest_key, launchPadCompanies_key, heatmap_key])
#     if res == 1:
#         logger.info('Success Response: ' + str(count) + "-" + str(res))
#         break
#     logger.info('Fail Response: ' + str(count) + "-" + str(res))
#     count += 1

`
@alex @timgraham @jerith @linsomniac

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions