Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
9694e884
Commit
9694e884
authored
Jul 29, 2013
by
Michal 'vorner' Vaner
Browse files
[2862] Document aborting on mapping error
parent
478d2eda
Changes
1
Show whitespace changes
Inline
Side-by-side
doc/design/datasrc/data-source-classes.txt
View file @
9694e884
...
@@ -236,7 +236,8 @@ image::auth-mapped.png[Sequence diagram for auth server using mapped memory segm
...
@@ -236,7 +236,8 @@ image::auth-mapped.png[Sequence diagram for auth server using mapped memory segm
argument and the segment mode of `READ_ONLY`.
argument and the segment mode of `READ_ONLY`.
Note that the auth module handles the command argument as mostly
Note that the auth module handles the command argument as mostly
opaque data; it's not expected to deal with details of segment
opaque data; it's not expected to deal with details of segment
type-specific behavior.
type-specific behavior. If the reset fails, auth aborts (as there's
no clear way to handle the failure).
6. `ConfigurableClientList::resetMemorySegment()` subsequently calls
6. `ConfigurableClientList::resetMemorySegment()` subsequently calls
`reset()` method on the corresponding `ZoneTableSegment` with the
`reset()` method on the corresponding `ZoneTableSegment` with the
...
@@ -254,7 +255,8 @@ image::auth-mapped.png[Sequence diagram for auth server using mapped memory segm
...
@@ -254,7 +255,8 @@ image::auth-mapped.png[Sequence diagram for auth server using mapped memory segm
underlying memory segment is swapped with a new one. The old
underlying memory segment is swapped with a new one. The old
memory segment object is destroyed. Note that
memory segment object is destroyed. Note that
this "destroy" just means unmapping the memory region; the data
this "destroy" just means unmapping the memory region; the data
stored in the file are intact.
stored in the file are intact. Again, if mapping fails, auth
aborts.
8. If the auth module happens to receive a reload command from other
8. If the auth module happens to receive a reload command from other
module, it could call
module, it could call
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment