Changeset 756

Show
Ignore:
Timestamp:
03/18/08 17:21:21 (7 months ago)
Author:
dsallings
Message:

Removed commented-out managed bucket stuff from the bin protocol.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/binary/server/memcached.c

    r755 r756  
    999999    } 
    10001000 
    1001     /* XXX:  Not sure what to do with these yet 
    1002     if (settings.managed) { 
    1003         int bucket = c->bucket; 
    1004         if (bucket == -1) { 
    1005             out_string(c, "CLIENT_ERROR no BG data in managed mode"); 
    1006             return; 
    1007         } 
    1008         c->bucket = -1; 
    1009         if (buckets[bucket] != c->gen) { 
    1010             out_string(c, "ERROR_NOT_OWNER"); 
    1011             return; 
    1012         } 
    1013     } 
    1014     */ 
    1015  
    10161001    it = item_get(key, nkey); 
    10171002    if (it) { 
     
    11991184    } 
    12001185 
    1201     /* Not sure what to do with this. 
    1202     if (settings.managed) { 
    1203         int bucket = c->bucket; 
    1204         if (bucket == -1) { 
    1205             out_string(c, "CLIENT_ERROR no BG data in managed mode"); 
    1206             return; 
    1207         } 
    1208         c->bucket = -1; 
    1209         if (buckets[bucket] != c->gen) { 
    1210             out_string(c, "ERROR_NOT_OWNER"); 
    1211             return; 
    1212         } 
    1213     } 
    1214     */ 
    1215  
    12161186    it = item_alloc(key, nkey, flags, realtime(exptime), vlen+2); 
    12171187 
     
    12611231 
    12621232    assert(c != NULL); 
    1263  
    1264     /* XXX:  I don't know what to do with this yet 
    1265     if (settings.managed) { 
    1266         int bucket = c->bucket; 
    1267         if (bucket == -1) { 
    1268             out_string(c, "CLIENT_ERROR no BG data in managed mode"); 
    1269             return; 
    1270         } 
    1271         c->bucket = -1; 
    1272         if (buckets[bucket] != c->gen) { 
    1273             out_string(c, "ERROR_NOT_OWNER"); 
    1274             return; 
    1275         } 
    1276     } 
    1277     */ 
    12781233 
    12791234    exptime = ntohl(*((int*)(c->rbuf)));