Closed cindyyan317 closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 64.44%. Comparing base (
3fa1df9
) to head (acb4b30
). Report is 1 commits behind head on develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
We could delete the data which we don't want to delete.
For example, if we execute go run main.go -i 5847959 -k clio 127.0.0.1 trying to delete the data after 5847959
Even 0x14d1b15992706d9b7f97926051c5101f277a53148ea17119ca3e5ee66287665e is created at 5847959, the deletion script still will delete it.
Because the slice has not done deep clone. All the Data in deleteInfo will eventually refer to the last item in partition.
Please refer to "reuse slice session" from: https://pkg.go.dev/github.com/gocql/gocql#hdr-Reusing_slices