<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.old.lustre.org/index.php?action=history&amp;feed=atom&amp;title=Architecture_-_Changelogs</id>
	<title>Architecture - Changelogs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.old.lustre.org/index.php?action=history&amp;feed=atom&amp;title=Architecture_-_Changelogs"/>
	<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;action=history"/>
	<updated>2026-04-17T17:23:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=10563&amp;oldid=prev</id>
		<title>Docadmin at 20:58, 22 January 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=10563&amp;oldid=prev"/>
		<updated>2010-01-22T20:58:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:58, 22 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; The content on this page reflects the state of design of a Lustre feature at a particular point in time and may contain outdated information.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;The content on this page reflects the state of design of a Lustre feature at a particular point in time and may contain outdated information.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Summary ==  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Summary ==  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=10476&amp;oldid=prev</id>
		<title>Docadmin: Protected &quot;Architecture - Changelogs&quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=10476&amp;oldid=prev"/>
		<updated>2010-01-21T19:07:42Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php?title=Architecture_-_Changelogs&quot; title=&quot;Architecture - Changelogs&quot;&gt;Architecture - Changelogs&lt;/a&gt;&amp;quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:07, 21 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=10109&amp;oldid=prev</id>
		<title>Docadmin at 23:54, 18 January 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=10109&amp;oldid=prev"/>
		<updated>2010-01-18T23:54:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:54, 18 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;Note:&#039;&#039;&#039;&#039;&#039; The content on this page reflects the state of design of a Lustre feature at a particular point in time and may contain outdated information. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Summary ==  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Summary ==  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=9883&amp;oldid=prev</id>
		<title>Docadmin: /* References */</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=9883&amp;oldid=prev"/>
		<updated>2010-01-14T22:03:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;References&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:03, 14 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l292&quot;&gt;Line 292:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 292:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://bugzilla.lustre.org/show_bug.cgi?id=14169 bug 14169]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://bugzilla.lustre.org/show_bug.cgi?id=14169 bug 14169]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Architecture|Changelogs]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:QAS|Changelogs]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Team_Rabbit]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=9840&amp;oldid=prev</id>
		<title>Docadmin: moved Changelogs to Architecture - Changelogs</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=9840&amp;oldid=prev"/>
		<updated>2010-01-14T21:23:18Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/index.php?title=Changelogs&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Changelogs (page does not exist)&quot;&gt;Changelogs&lt;/a&gt; to &lt;a href=&quot;/index.php?title=Architecture_-_Changelogs&quot; title=&quot;Architecture - Changelogs&quot;&gt;Architecture - Changelogs&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:23, 14 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=9746&amp;oldid=prev</id>
		<title>Docadmin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_Changelogs&amp;diff=9746&amp;oldid=prev"/>
		<updated>2010-01-14T21:01:07Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;changelog&amp;#039;&amp;#039;&amp;#039; is a log of data or metadata changes.  In general, these will track filesystem operations conveyed via one or more RPCs.  Changelogs are used by &amp;#039;&amp;#039;&amp;#039;consumers&amp;#039;&amp;#039;&amp;#039; such as userspace audit logs, mirroring OSTs or files, database &amp;#039;&amp;#039;&amp;#039;feeds&amp;#039;&amp;#039;&amp;#039;, etc. Changelogs are stored persistently and transactionally and are removed upon completion. &lt;br /&gt;
&lt;br /&gt;
There are 3 subflavors of changelogs (we intend to use the same changelog facility for all).&lt;br /&gt;
# rollback (undo) logs - used for filesystem recovery&lt;br /&gt;
# replication logs - used to propagate changes from a master server to a replica&lt;br /&gt;
# audit logs - record auditable actions (file create, access violation, etc.)  Will typically be converted into a &amp;#039;&amp;#039;&amp;#039;feed&amp;#039;&amp;#039;&amp;#039; for userspace-level usage.&lt;br /&gt;
&lt;br /&gt;
== Definitions ==&lt;br /&gt;
&lt;br /&gt;
; &amp;#039;&amp;#039;&amp;#039;server&amp;#039;&amp;#039;&amp;#039; : lustre md or os server participating in changelog generation.&lt;br /&gt;
; &amp;#039;&amp;#039;&amp;#039;server operation&amp;#039;&amp;#039;&amp;#039; : lustre operation reflected in changelog. Operation may correspond to a single rpc, or part of an rpc, or multiple rpc&amp;#039;s.&lt;br /&gt;
; &amp;#039;&amp;#039;&amp;#039;log entry&amp;#039;&amp;#039;&amp;#039; : a representation of a server operation in the changelog.&lt;br /&gt;
; &amp;#039;&amp;#039;&amp;#039;changelog&amp;#039;&amp;#039;&amp;#039; : a list of log entries, describing operations performed by a particular server.&lt;br /&gt;
; &amp;#039;&amp;#039;&amp;#039;feed&amp;#039;&amp;#039;&amp;#039; : an representation of (or layer upon) a changelog intended for an userspace consumer.&lt;br /&gt;
; &amp;#039;&amp;#039;&amp;#039;consumer&amp;#039;&amp;#039;&amp;#039; : an entity receiving the changelog or feed entries; may be a Lustre-internal consumer (replication) or an external consumer (database feed).&lt;br /&gt;
&lt;br /&gt;
== Qualities ==&lt;br /&gt;
&lt;br /&gt;
{|cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!Description&lt;br /&gt;
!Quality&lt;br /&gt;
!Semantics&lt;br /&gt;
|-&lt;br /&gt;
|scope||usability, performance, scalability||changelog per server or fileset&lt;br /&gt;
|-&lt;br /&gt;
|capability||usability||records should allow redo, undo, pathname reconstruction&lt;br /&gt;
|-&lt;br /&gt;
|completeness||usability||reliable reconstruction of total file system changelog from per-server changelogs.&lt;br /&gt;
|-&lt;br /&gt;
|precision||usability||operations that are allowed to be omitted from the changelog.&lt;br /&gt;
|-&lt;br /&gt;
|granularity||usability||scope of recorded server operations.&lt;br /&gt;
|-&lt;br /&gt;
|retention||usability, scalability||when changelog entries are discarded.&lt;br /&gt;
|-&lt;br /&gt;
|throughput||performance, scalability||updating changelog doesn&amp;#039;t hamper normal filesystem activity.&lt;br /&gt;
|-&lt;br /&gt;
|multiplexing||usability||changelog can be delivered to multiple consumers.&lt;br /&gt;
|-&lt;br /&gt;
|transactionality||usability||entries are not discarded until consumer has indicated completion&lt;br /&gt;
|-&lt;br /&gt;
|filtering||usability, performance, scalability||only a subset of &amp;quot;interesting&amp;quot; events are recorded/reported&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Use cases ==&lt;br /&gt;
&lt;br /&gt;
{|cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!ID&lt;br /&gt;
!Quality attribute&lt;br /&gt;
!Summary&lt;br /&gt;
|-&lt;br /&gt;
|audit||feature||audit trail generated from feed.&lt;br /&gt;
|-&lt;br /&gt;
|database_sync||scalability, consistency||use feed to keep database synchronized with filesystem.&lt;br /&gt;
|-&lt;br /&gt;
|replication||scalability||use changelogs to drive server/filesystem replicas&lt;br /&gt;
|-&lt;br /&gt;
|reintegration||consistency||replay changelogs from caches and proxies to reintegrate changes back to master servers &lt;br /&gt;
|-&lt;br /&gt;
|rollback||recovery||roll back to previous cluster-wide consistent state.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===audit===&lt;br /&gt;
{|border=1  cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Scenario:&amp;#039;&amp;#039;&amp;#039; ||audit trail generated from feed.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Business Goals:&amp;#039;&amp;#039;&amp;#039;||Detailed audit of file access or access failures&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Relevant QA&amp;#039;s:&amp;#039;&amp;#039;&amp;#039;||scalability, precision&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;6&amp;quot; writing-mode=&amp;quot;vertical&amp;quot;|&amp;#039;&amp;#039;&amp;#039;details&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Stimulus:&amp;#039;&amp;#039;&amp;#039;|| User on client 1 opens file A, reads file A, removes file A.  User on client 2 attempts to open file B, but fails EACCESS.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Stimulus source:&amp;#039;&amp;#039;&amp;#039;||Client&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Environment:&amp;#039;&amp;#039;&amp;#039;||A and B are on MDT0001, where sysadmin has set up a Lustre audit feed with mask IN_ALL_EVENTS&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Artifact:&amp;#039;&amp;#039;&amp;#039;||feed, presented as a file under /mnt/&amp;lt;server&amp;gt;/.lustre/audit&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response:&amp;#039;&amp;#039;&amp;#039;||feed is updated with event records as clients execute transactions: IN_OPEN,IN_ACCESS,IN_DELETE,IN_OPEN.  Feed is synchronous with transactions.  Entries remain in feed file until the next entry is read from the file.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response measure:&amp;#039;&amp;#039;&amp;#039;||all events are indicated in the feed file&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Questions:&amp;#039;&amp;#039;&amp;#039;||&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Issues:&amp;#039;&amp;#039;&amp;#039;||Need a user-settable retention policy on feed entries - read_once, explicit_cancel, time_out, etc.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===database_sync===&lt;br /&gt;
{|border=1  cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Scenario:&amp;#039;&amp;#039;&amp;#039; || external database is kept up to date with global filesystem metadata changes&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Business Goals:&amp;#039;&amp;#039;&amp;#039; || Provide feed to database consumer for customer-specific purposes (audit, query, HSM, etc.)&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Relevant QA&amp;#039;s:&amp;#039;&amp;#039;&amp;#039;||scalability, precision&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;6&amp;quot; writing-mode=&amp;quot;vertical&amp;quot;|&amp;#039;&amp;#039;&amp;#039;details&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Stimulus:&amp;#039;&amp;#039;&amp;#039;|| Filesystem metadata changes, data changes, and access events&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Stimulus source:&amp;#039;&amp;#039;&amp;#039;|| Client filesystem usage&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Environment:&amp;#039;&amp;#039;&amp;#039;|| Database input agents reading audit feeds on multiple servers&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Artifact:&amp;#039;&amp;#039;&amp;#039;|| audit feed file on each server&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response:&amp;#039;&amp;#039;&amp;#039;|| Filesystem events are integrated transactionally into database  &lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response measure:&amp;#039;&amp;#039;&amp;#039;|| All events are collected in database, even in the event of power loss&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Questions:&amp;#039;&amp;#039;&amp;#039;|| Is cross-server synchronization required?  E.g. a single event results in two changelog entries on two servers - do these need to be reconciled before integration into the database?&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Issues:&amp;#039;&amp;#039;&amp;#039;|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===replication===&lt;br /&gt;
{|border=1  cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Scenario:&amp;#039;&amp;#039;&amp;#039; ||changelog from a primary server provides replication instructions on a backup server&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Business Goals:&amp;#039;&amp;#039;&amp;#039; ||Efficient replication of filesystem changes&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Relevant QA&amp;#039;s:&amp;#039;&amp;#039;&amp;#039;||scalability&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;6&amp;quot; writing-mode=&amp;quot;vertical&amp;quot;|&amp;#039;&amp;#039;&amp;#039;details&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Stimulus:&amp;#039;&amp;#039;&amp;#039;||file or metadata on primary servers is modified&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Stimulus source:&amp;#039;&amp;#039;&amp;#039;||normal client filesystem usage&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Environment:&amp;#039;&amp;#039;&amp;#039;||replicated filesystem: primary filesystem replicated on secondary servers.  Secondary filesystem may have a different layout than primary.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Artifact:&amp;#039;&amp;#039;&amp;#039;||changelog&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response:&amp;#039;&amp;#039;&amp;#039;||relevant changelog entries are replayed on secondary servers, bringing secondary up to date.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response measure:&amp;#039;&amp;#039;&amp;#039;||copy of filesystem on secondary servers matches primary within X time measure.  Secondary is always internally consistent. &lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Questions:&amp;#039;&amp;#039;&amp;#039;||&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Issues:&amp;#039;&amp;#039;&amp;#039;|| Replication must be fully scalable&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===reintegration===&lt;br /&gt;
{|border=1  cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Scenario:&amp;#039;&amp;#039;&amp;#039; ||replay changelogs from caches and proxies to reintegrate changes on primary servers &lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Business Goals:&amp;#039;&amp;#039;&amp;#039; ||help facilitate efficient caches / proxies&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Relevant QA&amp;#039;s:&amp;#039;&amp;#039;&amp;#039;||consistency&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;6&amp;quot; writing-mode=&amp;quot;vertical&amp;quot;|&amp;#039;&amp;#039;&amp;#039;details&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Stimulus:&amp;#039;&amp;#039;&amp;#039;||file or metadata is changed on caching server &lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Stimulus source:&amp;#039;&amp;#039;&amp;#039;||client filesystem usage&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Environment:&amp;#039;&amp;#039;&amp;#039;||filesystem is cached before &amp;quot;main&amp;quot; servers&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Artifact:&amp;#039;&amp;#039;&amp;#039;|| changelog&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response:&amp;#039;&amp;#039;&amp;#039;||relevant changelog entries are batched and replayed on primary servers&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response measure:&amp;#039;&amp;#039;&amp;#039;|| Primary copies of files reflect all cached changes&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Questions:&amp;#039;&amp;#039;&amp;#039;||&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Issues:&amp;#039;&amp;#039;&amp;#039;|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===rollback===&lt;br /&gt;
{|border=1  cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Scenario:&amp;#039;&amp;#039;&amp;#039; ||roll back to previous consistent state for stripe or CMD recovery&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Business Goals:&amp;#039;&amp;#039;&amp;#039; ||help facilitate distributed recovery&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Relevant QA&amp;#039;s:&amp;#039;&amp;#039;&amp;#039;|| recovery&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;6&amp;quot; writing-mode=&amp;quot;vertical&amp;quot;|&amp;#039;&amp;#039;&amp;#039;details&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Stimulus:&amp;#039;&amp;#039;&amp;#039;||external mechanism decides that some committed server operations must be rolled back for overall filesystem consistency&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Stimulus source:&amp;#039;&amp;#039;&amp;#039;||recovery mechanism (not defined by this arch)&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Environment:&amp;#039;&amp;#039;&amp;#039;||some distributed ops are committed, others are not&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Artifact:&amp;#039;&amp;#039;&amp;#039;|| changelog&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response:&amp;#039;&amp;#039;&amp;#039;||committed ops are backed out of some servers&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response measure:&amp;#039;&amp;#039;&amp;#039;||filesystem is returned to globally consistent state&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Questions:&amp;#039;&amp;#039;&amp;#039;||What mechanism identifies which ops should be backed out?  Is it possible to avoid committing those ops in the first place?&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Issues:&amp;#039;&amp;#039;&amp;#039;|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
=== Scope ===&lt;br /&gt;
We take changelogs to mean per-server changelogs.  Changelogs may be further restricted to the portion of a particular fileset residing on each server.&lt;br /&gt;
&lt;br /&gt;
=== Transactionality ===&lt;br /&gt;
Changelogs must be persistent across server failure and restarts in order to provide recovery information. Changelogs should be written transactionally on a journaled filesystem.  The actions described by each changelog entry must be marked as incomplete until the results of those actions are fully committed to persistent storage. Furthermore, due to rollback requirements, even &amp;#039;&amp;#039;committed&amp;#039;&amp;#039; transactions may need to be rolled back to an epoch boundary.&lt;br /&gt;
&lt;br /&gt;
Feeds must also be persistent in some cases (database_sync), but due to different filtering and auditing requirements, it may make sense to store each feed as a separate (simplified) log.&lt;br /&gt;
&lt;br /&gt;
Since changelog entries will be written frequently, it may be desireable to store them on a high-speed medium (potentially flash drive) where possible.  In any case, we should have provisions to locate changelogs on separate devices or colocated with the target disk.  In some cases ram-only changelogs may be useful.&lt;br /&gt;
&lt;br /&gt;
=== Consistency ===&lt;br /&gt;
The changelogs for individual servers should be able to be combined into a consistent total filesystem changelog.  A filesystem snapshot plus the subsequent combined changelog should be able to mirror the current state of the filesystem.&lt;br /&gt;
&lt;br /&gt;
Complete synchronization of log entries implies global event ordering in the [http://en.wikipedia.org/wiki/Lamport_timestamps Lamport timestamp] sense. However, since many operations will be confined to an individual server (e.g. metadata operations for a particular subdirectory), a strict&lt;br /&gt;
total ordering requirement may not be needed.  Instead, a causal ordering condition may be sufficient (ref [http://en.wikipedia.org/wiki/Vector_clocks vector clocks]).  File or server-based versioning, perhaps with occasional synchronizing event markers (epoch boundary markers?) (included in distributed RPCs) could insure that inter-server operations would be ordered correctly but independent, intra-server operations may not be strictly ordered (e.g. write on OST1 for file1, rename file2 on MDT2 may be reported in either order).&lt;br /&gt;
&lt;br /&gt;
=== Completeness ===&lt;br /&gt;
Some changes masked by client or proxy caching servers will not be reported to servers, and so&lt;br /&gt;
will not be included in server changelogs.  (e.g. if caching mechanism never reports a file create/write/unlink of a tempfile to the server, only directory mtime change might show up in server changelog.  Or write bytes 1-10, then bytes 11-20 might appear in changelog as write bytes 1-20.)  Note that depending on the cache flushing policy, the data for repeated writes to the same extent may never be sent to the server and therefore no rollback will be possible to intermediate points.  Server changelogs will reflect only the net result of flushed operations.&lt;br /&gt;
&lt;br /&gt;
For auditing purposes, atime logging might be required on some feeds.  This would be limited to our current &amp;#039;lazy atime&amp;#039; at best, again potentially masked by client-side read cache.&lt;br /&gt;
&lt;br /&gt;
=== Retention ===&lt;br /&gt;
A distributed transaction may involve multiple file operations on different servers.  For recovery of the FS to a consistent state in case only some components of the transaction are committed, we require the ability to rollback the committed components.  This may be some kind of external snapshot reference, or COW semantics, or inclusion of the changed data in the changelog, etc.&lt;br /&gt;
&lt;br /&gt;
This makes the retention policy more complex, in that changelog records may not be discarded even after the component has been committed to disk -- the entire distributed transaction must be committed.  Beyond that, if arbitrary rollback abilities are desired, then changelog records may be required until the previous filesystem checkpoint, consistent cut, or snapshot.  User-selectable retention policies may be required.&lt;br /&gt;
&lt;br /&gt;
=== Scalablity ===&lt;br /&gt;
Replication of a large filesystem must not harm client responsiveness.  Replication must be spread out over a large percentage of the servers of both the source and destination clusters&lt;br /&gt;
&lt;br /&gt;
=== Feed Synchronization ===&lt;br /&gt;
To insure feed entries are not lost due to e.g. output buffer overruns, some kind of completion signal must be returned to Lustre.  This may be a per-entry completion callback, or potentially&lt;br /&gt;
just a blocking pipe.  Lustre must correctly handle buffer overflow conditions in case e.g. consumer dies.&lt;br /&gt;
&lt;br /&gt;
=== Log Content ===&lt;br /&gt;
&lt;br /&gt;
I.   MDT changes (create/delete/rename): filename,perm,etc. old and new values, object/version list&lt;br /&gt;
&lt;br /&gt;
II.  OST metadata changes (append/modify/truncate/redirect): file/object name / version, extents&lt;br /&gt;
&lt;br /&gt;
III. OST data changes: references to old data blocks or previous snapshot may be desired for rollback.  Note that this would not involve copying the data to disk again, but merely adding a reference to the on-disk old data.  These would be cleaned as the log entries were canceled.&lt;br /&gt;
&lt;br /&gt;
IV.  Synchronization items: epoch, object version, generation number, etc.&lt;br /&gt;
&lt;br /&gt;
For auditing:&lt;br /&gt;
;V.   Access time: atime/mtime on OST, ctime/mtime on MDT&lt;br /&gt;
;VI.  Identification: nid, pid, uid if available&lt;br /&gt;
;VII. Permission failures&lt;br /&gt;
&lt;br /&gt;
=== Feed API ===&lt;br /&gt;
The user API for feeds should include the following features:&lt;br /&gt;
   - Userspace data output stream &lt;br /&gt;
   - Register event filters&lt;br /&gt;
   - Register consumer completion callback&lt;br /&gt;
   - Multiple consumer capability&lt;br /&gt;
&lt;br /&gt;
== Implementation Notes ==&lt;br /&gt;
&lt;br /&gt;
Implementation contraints:&lt;br /&gt;
&lt;br /&gt;
=== Base on llogs ===&lt;br /&gt;
Changelogs will be implemented as a flavor of Lustre llogs after suitable, relatively minor enhancements are made to the llog facility. Specifically, there will be multiple replicators (consumers) for some records.  &lt;br /&gt;
&lt;br /&gt;
=== Created only on demand ===&lt;br /&gt;
Changelog entries are created only when required by an existing consumer(s), and are cancelled when that consumer(s) has finished processing the change. &lt;br /&gt;
&lt;br /&gt;
=== Independent per server ===&lt;br /&gt;
Changelogs are per-server, and may be further restricted to a particular fileset. Changelogs from different servers / filesets will not be recombined by Lustre.&lt;br /&gt;
&lt;br /&gt;
=== Feeds as files ===&lt;br /&gt;
User-level access to a feed will take place via a virtual file type mechanism, similar to proc.  &lt;br /&gt;
Feed entries will be read out of $MNT/.lustre/feed. A consumer completion callback must be called (or some other signal) before the next changelog entry is presented (multiple entries?  asyncronous cancellation?).  A timeout would be used to detect a dead consumer, at which point we abort the feed (raise a signal?  continue recording non-cancelled entries forever?).  Upon recovery, we restart feed from last uncanceled entry (when consumer re-registers).  &lt;br /&gt;
&lt;br /&gt;
=== Single consumer per feed ===&lt;br /&gt;
In order to easily define separate filters and completion callbacks, we will generate a single feed per consumer.  A single changelog may drive multiple feeds; each feed will take a reference on each changelog entry.  We will need to identify the consumer to the feed during re-registration after recovery.&lt;br /&gt;
&lt;br /&gt;
=== Feed registration ===&lt;br /&gt;
Feed consumer registration therefore includes:&lt;br /&gt;
# changelog identifier (OST0003)&lt;br /&gt;
# consumer identifier (process name?  job id?)&lt;br /&gt;
# filter definition&lt;br /&gt;
# policy flags (recovery_required, no_callback, batch_cancel, timeout)&lt;br /&gt;
# last entry identifier (for recovery)  &lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
[https://bugzilla.lustre.org/show_bug.cgi?id=14169 bug 14169]&lt;br /&gt;
&lt;br /&gt;
[[Category:Architecture|Changelogs]]&lt;br /&gt;
[[Category:QAS|Changelogs]]&lt;br /&gt;
[[Category:Team_Rabbit]]&lt;/div&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
</feed>