You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/09/10 17:09:57 UTC

[31/48] git commit: TS-2168: keep records.config in sync with RecordsConfig.cc at all time

TS-2168: keep records.config in sync with RecordsConfig.cc at all time

According a long discussion on TS-2168 ticket:

"Since we can't make it conditional on records.config, doing it only in
RecordsConfig.cc makes it impossible to properly implement the verification
features that was requested in a different ticket" -- Leif

Let's remove #if TS_USE_RECLAIMABLE_FREELIST to keep records.config in
sync with RecordsConfig.cc at all time.

Signed-off-by: Yunkai Zhang <qi...@taobao.com>


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

Branch: refs/heads/5.0.x
Commit: 2c194735ff40ef4272002ff9dde0c3c977d04009
Parents: 9fab65b
Author: Yunkai Zhang <qi...@taobao.com>
Authored: Sun Sep 8 01:26:17 2013 +0800
Committer: Yunkai Zhang <qi...@taobao.com>
Committed: Sun Sep 8 01:29:32 2013 +0800

----------------------------------------------------------------------
 mgmt/RecordsConfig.cc | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2c194735/mgmt/RecordsConfig.cc
----------------------------------------------------------------------
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index c1fec36..86ce925 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -1938,7 +1938,6 @@ RecordElement RecordsConfig[] = {
   {RECT_CONFIG, "proxy.config.stat_api.max_stats_allowed", RECD_INT, "256", RECU_RESTART_TS, RR_NULL, RECC_INT, "[256-1000]", RECA_NULL}
   ,
 
-#if TS_USE_RECLAIMABLE_FREELIST
   //############
   //#
   //# Using for Reclaimable InkFreeList memory pool
@@ -1952,7 +1951,6 @@ RecordElement RecordsConfig[] = {
   ,
   {RECT_CONFIG, "proxy.config.allocator.debug_filter", RECD_INT, "0", RECU_NULL, RR_NULL, RECC_NULL, "[0-3]", RECA_NULL}
   ,
-#endif /* TS_USE_RECLAIMABLE_FREELIST */
 
   //############
   //#