Changeset 147

Show
Ignore:
Timestamp:
01/19/05 18:55:30 (4 years ago)
Author:
bradfitz
Message:

spec for upcoming mogilefsd change

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/devnotes/perl-interface.txt

    r60 r147  
    1717        'key' may be optional, in which an anonymous file (not in 
    1818          namespace is returned).  essentially a temp/spool file. 
     19 
     20        optional request key:  'multi_dest=1' signals that server should 
     21        reply not with keys "devid" and "path" but instead with: 
     22 
     23             dev_count=3 
     24             devid_1=10 
     25             devid_2=17 
     26             devid_3=26 
     27             path_1=http://host1:7500/dev10/... 
     28             path_2=http://host2:7500/dev17/... 
     29             path_3=http://host3:7500/dev26/... 
     30 
     31        .. that way if the server unknowingly gave the client a down storage node, 
     32        the client can immediately try somewhere else. 
    1933 
    2034   2) close fid (and the devid, path that was written to)