add get_version() method to Referenceable objects, describe our versioning scheme #538

Closed
opened 2008-11-21 23:41:57 +00:00 by warner · 3 comments
warner commented 2008-11-21 23:41:57 +00:00
Owner

Zooko and I hammered out a versioning scheme on the mailing list: http://allmydata.org/pipermail/tahoe-dev/2008-November/000879.html has the discussion.

The action items are:

  • add remote_get_version methods to our four main Referenceable objects:
  • storage server
  • introducer server
  • helper
  • chk-upload-helper
  • add web pages for the URLs referenced therein
  • add code to call storage.get_version and stash it somewhere
  • add code to upload to respect max-immutable-share-size
  • add code to introducer client to get_version and require v1
  • add code to helper client to get_version and require v1
Zooko and I hammered out a versioning scheme on the mailing list: <http://allmydata.org/pipermail/tahoe-dev/2008-November/000879.html> has the discussion. The action items are: * add `remote_get_version` methods to our four main Referenceable objects: * storage server * introducer server * helper * chk-upload-helper * add web pages for the URLs referenced therein * add code to call storage.get_version and stash it somewhere * add code to upload to respect max-immutable-share-size * add code to introducer client to get_version and require v1 * add code to helper client to get_version and require v1
tahoe-lafs added the
code-network
major
enhancement
1.2.0
labels 2008-11-21 23:41:57 +00:00
tahoe-lafs added this to the 1.3.0 milestone 2008-11-21 23:41:57 +00:00
warner commented 2008-11-22 02:37:17 +00:00
Author
Owner

Mostly done, in changeset:0eb6b324a4fcda2f, changeset:bf06492a90a3cc49, changeset:0fab511be531c6f3, and changeset:3e25efc010876b42. The URLs used as protocol
identifiers are:

The version information is attached to the RemoteReference, in the form of a
VersionedRemoteReference wrapper with a .version attribute.

The upload code has been modified to look for maximum-immutable-share-size
and skip any servers which can't handle the share we want to give them. This
still needs tests, though.

Mostly done, in changeset:0eb6b324a4fcda2f, changeset:bf06492a90a3cc49, changeset:0fab511be531c6f3, and changeset:3e25efc010876b42. The URLs used as protocol identifiers are: * <http://allmydata.org/tahoe/protocols/storage/v1> * <http://allmydata.org/tahoe/protocols/introducer/v1> * <http://allmydata.org/tahoe/protocols/helper/v1> * <http://allmydata.org/tahoe/protocols/helper/chk-upload/v1> The version information is attached to the RemoteReference, in the form of a VersionedRemoteReference wrapper with a .version attribute. The upload code has been modified to look for maximum-immutable-share-size and skip any servers which can't handle the share we want to give them. This still needs tests, though.
tahoe-lafs added the
fixed
label 2009-02-07 19:49:54 +00:00
zooko closed this issue 2009-02-07 19:49:54 +00:00
zooko commented 2009-02-07 19:50:20 +00:00
Author
Owner

Oh, it according to the most recent comment, this might not be thoroughly tested. What shall we do with this ticket?

Oh, it according to the most recent comment, this might not be thoroughly tested. What shall we do with this ticket?
tahoe-lafs removed the
fixed
label 2009-02-07 19:50:20 +00:00
zooko reopened this issue 2009-02-07 19:50:20 +00:00
warner commented 2009-02-09 01:43:13 +00:00
Author
Owner

changeset:89683a39062edc6e adds the test (confirm that the upload code honors maximum-immutable-share-size), so I think we can close this one completely now.

changeset:89683a39062edc6e adds the test (confirm that the upload code honors maximum-immutable-share-size), so I think we can close this one completely now.
tahoe-lafs added the
fixed
label 2009-02-09 01:43:13 +00:00
warner closed this issue 2009-02-09 01:43:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#538
No description provided.