Changeset 23655
- Timestamp:
- Apr 1, 2009, 2:09:20 PM (17 years ago)
- Location:
- trunk/Nebulous-Server
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/Build.PL
r20157 r23655 15 15 'DBI' => '1.53', 16 16 'Digest::SHA1' => 0, 17 'File::Basename' => 0, 17 18 'File::ExtAttr' => '1.03', 18 19 'File::Mountpoint' => '0.01', 19 20 'File::Path' => '1.08', 20 21 'File::Spec' => 0, 21 'Filesys::Df' => '0.92',22 22 'File::Spec::Functions' => 0, 23 23 'File::Temp' => 0, 24 'Filesys::Df' => '0.92', 24 25 'Log::Log4perl' => '0.48', 25 26 'Net::Server::Daemonize'=> '0.05', 26 27 'Params::Validate' => '0.73', 27 28 'SOAP::Lite' => '0.69', 29 'SQL::Interp' => '1.06', 28 30 'URI' => '1.30', 29 'SQL::Interp' => '1.06',30 31 }, 31 32 build_requires => { -
trunk/Nebulous-Server/Changes
r23654 r23655 4 4 - retry database transactions when a deadlock is detected 5 5 - add log4perl logging to nebdiskd 6 - base the on disk directory hashing of files only on the dirname() 7 component of keys 6 8 7 9 0.16 -
trunk/Nebulous-Server/lib/Nebulous/Server.pm
r23460 r23655 15 15 use DBI; 16 16 use Digest::SHA1 qw( sha1_hex ); 17 use File::Basename qw( dirname ); 17 18 use File::ExtAttr qw( setfattr ); 18 19 use File::Path; 19 20 use File::Spec; 20 21 use Log::Log4perl; 22 use Nebulous::Keys qw( parse_neb_key parse_neb_volume ); 21 23 use Nebulous::Server::Config; 22 24 use Nebulous::Server::Log; 23 25 use Nebulous::Server::SQL; 24 use Nebulous::Keys qw( parse_neb_key parse_neb_volume );25 26 use Params::Validate qw( validate_pos SCALAR SCALARREF UNDEF ); 26 27 use URI::file; … … 1579 1580 my ($key, $vol_path) = @_; 1580 1581 1582 # if the key has '/' in it, hash only the dirname() component 1583 if ($key =~ m|/|) { 1584 $key = dirname($key); 1585 } 1586 1581 1587 # taken and modified from Cache::File::cache_file_path() 1582 1588 # Copyright (C) 2003-2006 Chris Leishman. All Rights Reserved.
Note:
See TracChangeset
for help on using the changeset viewer.
