Commit 37238244 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8457a6a9
...@@ -118,9 +118,9 @@ ...@@ -118,9 +118,9 @@
// The filesystem server itself receives information about changed data from // The filesystem server itself receives information about changed data from
// ZODB server through regular ZODB invalidation channel (as it is ZODB client // ZODB server through regular ZODB invalidation channel (as it is ZODB client
// itself). Then, separately for each changed file block, before actually // itself). Then, separately for each changed file block, before actually
// updating head/bigfile/<bigfileX> content, it notifies through head/watch to // updating head/bigfile/<bigfileX> content, it notifies through opened
// clients, that had requested it (separately to each client), about the // head/watch links to clients, that had requested it (separately to each
// changes: // client), about the changes:
// //
// S: <2·k> pin <bigfileX> #<blk> @<rev_max> // S: <2·k> pin <bigfileX> #<blk> @<rev_max>
// XXX @head means unpin. // XXX @head means unpin.
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
// be potentially changed after client's <at>, and <rev_max> describes the // be potentially changed after client's <at>, and <rev_max> describes the
// upper bound for the block revision as of <at> database view: // upper bound for the block revision as of <at> database view:
// //
// <rev_max> ≤ <at> // <rev_max> ≤ <at> ; block stays unchanged in (<rev_max>, <at>] range
// //
// The server maintains short history tail of file changes to be able to // The server maintains short history tail of file changes to be able to
// support openings with <at> being slightly in the past compared to current // support openings with <at> being slightly in the past compared to current
......
...@@ -876,7 +876,7 @@ def test_wcfs(): ...@@ -876,7 +876,7 @@ def test_wcfs():
# XXX invalid requests -> wcfs replies error # XXX invalid requests -> wcfs replies error
# XXX -> separate test? # XXX -> separate test?
wl = t.openwatch() wl = t.openwatch()
assert wl.sendReq(context.background(), b'bla bla') == "" assert wl.sendReq(context.background(), b'bla bla') == "" # XXX -> == None XXX or error?
# assert wl closed # assert wl closed
wl.close() wl.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment