* [ANN] cmogstored 1.6.0 - a mogstored alternative
@ 2016-08-31 16:46 5% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2016-08-31 16:46 UTC (permalink / raw)
To: mogile, cmogstored-public
cmogstored is an alternative implementation of the "mogstored" storage
component of MogileFS. cmogstored is implemented in C and does not use
Perl at runtime. cmogstored is the only component you need to install
on a MogileFS storage node.
cmogstored 1.6.0 - minor fixes on allocation errors
There are minor robustness fixes on handling errors when
allocating memory or spawn failures on otherwise-hosed systems.
These bugfixes will not affect real users unless the system
is already hosed or in badly overtaxed, so there's no real
need to upgrade.
There are minor portability improvements and I now test under
FreeBSD 10.x.
The iostat test cases are relaxed a bit to account for
virtualized devices (as iostat is less useful with modern
17 changes since 1.5.0 (Nov 2015):
Rakefile: add missing <div> for Atom feed
test/pwrite-wrap: remove unused variable and comment
test/pwrite_wrap: squelch unnecessary output
test/pwrite_wrap: reduce space overhead required
update copyrights for 2016
build-aux/txt2pre: drop CGI.pm requirement
stdin is always redirected to /dev/null
minor vfork/fork safety fixes
process: try to handle OOM gracefully
http_put: gracefully handle path allocation errors
iostat_process: declare environ extern
test/mgmt: relax checks for iostat mapping
gnulib copyright update for 2016
upgrade: avoid syslog call if execve fails
rely on gnulib for environ portability
INSTALL: update latest Debian stable version to 8.x
README: stop mentioning cgit
http://bogomips.org/cmogstored/files/cmogstored-1.6.0.tar.gz
SHA-1: b35767444a9a993ee2c25c27192de7152a041682
SHA-256: f50d3449f3cdf8e6b67a77e42c6fc2055a7708090a52a7bebd601e3827e8a22f
* homepage: http://bogomips.org/cmogstored/README
* git clone git://bogomips.org/cmogstored.git
* git clone http://bogomips.org/cmogstored.git
* gitweb: http://repo.or.cz/w/cmogstored.git
* list: cmogstored-public@bogomips.org (subscription optional)
* archives: http://bogomips.org/cmogstored-public/
* nntp://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored
^ permalink raw reply [relevance 5%]
* [PATCH] test/mgmt: relax checks for iostat mapping
@ 2016-07-17 5:16 7% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2016-07-17 5:16 UTC (permalink / raw)
To: cmogstored-public; +Cc: Eric Wong
In the age of virtualized devices and fast solid-state storage,
iostat information isn't as useful at it was a decade ago and
probably less useful in tests. So relax the tests.
---
test/mgmt.rb | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/test/mgmt.rb b/test/mgmt.rb
index 64f7bfc..28ef255 100644
--- a/test/mgmt.rb
+++ b/test/mgmt.rb
@@ -347,7 +347,11 @@ class TestMgmt < Test::Unit::TestCase
break if str =~ /^666\t/
end
util = RUBY_PLATFORM =~ /linux/ ? %r{\d+\.\d\d} : %r{\d+(?:\.\d+)?}
- assert_match(/^666\t#{util}\n/, str, swarn(str.inspect))
+ if str =~ /^666\t-\n/
+ warn "'watch' may not work correctly on virtual disks\n"
+ else
+ assert_match(/^666\t#{util}\n/, str, swarn(str.inspect))
+ end
assert_equal ".\n", @client.gets
end if `which iostat 2>/dev/null`.chomp.size != 0 &&
RUBY_PLATFORM !~ /kfreebsd-gnu/
@@ -363,8 +367,12 @@ class TestMgmt < Test::Unit::TestCase
lines = []
lines << @client.gets
lines << @client.gets
- assert_match(/^(666|999)\t#{util}\n/, lines[0], swarn(lines.inspect))
- assert_match(/^(666|999)\t#{util}\n/, lines[1], swarn(lines.inspect))
+ if lines.grep(/^(666|999)\t-\n/)[0]
+ warn "'watch' may not work correctly on virtual disks\n"
+ else
+ assert_match(/^(666|999)\t#{util}\n/, lines[0], swarn(lines.inspect))
+ assert_match(/^(666|999)\t#{util}\n/, lines[1], swarn(lines.inspect))
+ end
assert_not_equal(lines[0], lines[1])
assert_equal ".\n", @client.gets
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-07-17 5:16 7% [PATCH] test/mgmt: relax checks for iostat mapping Eric Wong
2016-08-31 16:46 5% [ANN] cmogstored 1.6.0 - a mogstored alternative Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/cmogstored.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).