You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by we...@apache.org on 2014/04/03 12:41:55 UTC

git commit: Doc: we use the phase member to distinguish the dir valid or not.

Repository: trafficserver
Updated Branches:
  refs/heads/master ea382fd2c -> 82890bdc6


Doc: we use the phase member to distinguish the dir valid or not.

The Dir becames invalid when the Doc is evicted from the cache


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/82890bdc
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/82890bdc
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/82890bdc

Branch: refs/heads/master
Commit: 82890bdc6015b713da3d3172ebe2aa426c5aac30
Parents: ea382fd
Author: weijin <ta...@taobao.com>
Authored: Thu Apr 3 18:26:17 2014 +0800
Committer: weijin <ta...@taobao.com>
Committed: Thu Apr 3 18:40:09 2014 +0800

----------------------------------------------------------------------
 doc/arch/cache/cache-arch.en.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/82890bdc/doc/arch/cache/cache-arch.en.rst
----------------------------------------------------------------------
diff --git a/doc/arch/cache/cache-arch.en.rst b/doc/arch/cache/cache-arch.en.rst
index 923b2a2..3989e52 100644
--- a/doc/arch/cache/cache-arch.en.rst
+++ b/doc/arch/cache/cache-arch.en.rst
@@ -402,7 +402,7 @@ The in memory volume directory entries are defined as described below.
    big         unsigned in:2       Size multiplier
    size        unsigned int:6      Size
    tag         unsigned int:12     Partial key (fast collision check)
-   phase       unsigned int:1      Unknown
+   phase       unsigned int:1      Phase of the ``Doc`` (for dir valid check)
    head        unsigned int:1      Flag: first fragment in an object
    pinned      unsigned int:1      Flag: document is pinned
    token       unsigned int:1      Flag: Unknown