sodafoundation / strato

SODA Strato (Multi-cloud) project provides a cloud vendor agnostic data management for hybrid cloud, intercloud or intracloud. This project is renamed as 'Strato'
Apache License 2.0
234 stars 330 forks source link

Internal versioning book keeping methods #735

Open rhsakarpos opened 4 years ago

rhsakarpos commented 4 years ago

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug kind feature

What happened:

What you expected to happen: To support the below 2 APIs to be used within versioning feature

func GetNextVersion(objectID string) (newVersion int, error) func SetNewVersion(objectID string, newVersion int) error

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

rhsakarpos commented 4 years ago

not started yet, plan to raise PR on 21/11

rhsakarpos commented 4 years ago

checked the code, not needed. have updated on slack

skdwriting commented 4 years ago

@rhsakarpos what is the meaning of the prev comment? ;)