File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ std::string to_string(DeleteSource deleteSource);
181181/* *
182182 * The committed state of the Item.
183183 *
184- * Consists of four states: CommittedViaMutation, CommittedViaPrepare
185- * Pending and PreparedMaybeVisible .
184+ * Consists of six states: CommittedViaMutation, CommittedViaPrepare
185+ * Pending, PreparedMaybeVisible, PrepareAborted, and PrepareCommitted .
186186 * The first two are generally considered as the same 'Committed' state
187187 * by external observers, but internally we need to differentiate between
188188 * them to write to disk / send over DCP hence having two different states.
@@ -192,6 +192,10 @@ std::string to_string(DeleteSource deleteSource);
192192 * Committed (but haven't yet been Committed locally) are marked as
193193 * PreparedMaybeVisible.
194194 *
195+ * PrepareAborted and PrepareCommitted are used to identify prepares that exist
196+ * in the HashTable after they have been completed which is required for
197+ * Ephemeral.
198+ *
195199 * Used in a bitfield in StoredValue hence explicit values for enums required.
196200 */
197201enum class CommittedState : char {
You can’t perform that action at this time.
0 commit comments