Project

General

Profile

Actions

Idea #7710

closed

[SDKs] GoSDK KeepClient works with all service types, applying rules for the proxy type

Added by Brett Smith over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
SDKs
Target version:
Start date:
11/27/2015
Due date:
Story points:
1.0

Description

The Keep client in the Go SDK should connect to services of any type. For any type that isn't disk, it should follow the rules that we currently follow when connecting to proxies:

  • Only allow one writer thread at a time.
  • Use "proxy" timeouts.
  • Respect the replication headers in the response.
Test case:
  • Create some keep_services with service_type="fancynewblobstore"
  • Ensure those keep services are used when reading and writing
  • Ensure that the client only sends one write when the service reports that it wrote enough replicas

Write the above test cases to ensure proper behavior for non-disk, non-proxy services, then make whatever code changes are necessary to make them pass. Right now, we believe no code changes are necessary, but the tests will verify that.


Subtasks 1 (0 open1 closed)

Task #7874: Review branch: 7710-keepclient-all-service-typesResolvedRadhika Chippada11/27/2015Actions

Related issues

Related to Arvados - Idea #7696: [SDKs] PySDK KeepClient works with all service types, applying rules for the proxy typeResolvedBrett Smith11/11/2015Actions
Actions

Also available in: Atom PDF