IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 7, 2009, 2:03:39 PM (17 years ago)
Author:
jhoblitt
Message:

disallow Nebulous::Server->rename_object() when it would cause the db hash of a key to change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/neb_distrib_20081210/Nebulous-Server/lib/Nebulous/Server.pm

    r23726 r23727  
    326326    $log->debug("entered - @_");
    327327
     328    unless ($self->_db_index_for_key($key)
     329         == $self->_db_index_for_key($newkey)) {
     330        $log->logdie("can not rename objects across distributed database boundaries");
     331    }
     332
    328333TRANS: while (1) {
    329334        eval {
Note: See TracChangeset for help on using the changeset viewer.