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

[trafficserver] branch 8.0.x updated (27cedcf -> ddff56e)

This is an automated email from the ASF dual-hosted git repository.

bcall pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.


    from 27cedcf  Test: Convert test_Vec.cc to Catch
     new 49e6d6e  Fix docs typo
     new ddff56e  Removed headers that are not used

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 doc/admin-guide/files/records.config.en.rst |  2 +-
 proxy/TimeTrace.h                           | 77 -----------------------------
 src/traffic_cache_tool/CacheStore.h         | 48 ------------------
 3 files changed, 1 insertion(+), 126 deletions(-)
 delete mode 100644 proxy/TimeTrace.h
 delete mode 100644 src/traffic_cache_tool/CacheStore.h


[trafficserver] 01/02: Fix docs typo

Posted by bc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 49e6d6e86140dceb8611b5c82000cd4f2308d462
Author: Susan Hinrichs <sh...@apache.org>
AuthorDate: Thu Sep 20 13:16:30 2018 -0500

    Fix docs typo
    
    (cherry picked from commit 5ee6a5f554880b02535e6ee84268df922e87274d)
---
 doc/admin-guide/files/records.config.en.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/admin-guide/files/records.config.en.rst b/doc/admin-guide/files/records.config.en.rst
index de434e1..c8b6b6d 100644
--- a/doc/admin-guide/files/records.config.en.rst
+++ b/doc/admin-guide/files/records.config.en.rst
@@ -2653,7 +2653,7 @@ Logging Configuration
    ``0``    Logging disabled.
    ``1``    Log errors only.
    ``2``    Log transactions only.
-   ``3``    Dull logging (errors and transactions).
+   ``3``    Dual logging (errors and transactions).
    ======== ===================================================================
 
    Refer to :ref:`admin-logging` for more information on event logging.


[trafficserver] 02/02: Removed headers that are not used

Posted by bc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit ddff56e344378f5b53a48d87850ed32c69718025
Author: Bryan Call <bc...@apache.org>
AuthorDate: Wed Sep 26 12:05:16 2018 -0700

    Removed headers that are not used
    
    (cherry picked from commit b20cc8df43ed85a0de859134a348de3aba33bf45)
---
 proxy/TimeTrace.h                   | 77 -------------------------------------
 src/traffic_cache_tool/CacheStore.h | 48 -----------------------
 2 files changed, 125 deletions(-)

diff --git a/proxy/TimeTrace.h b/proxy/TimeTrace.h
deleted file mode 100644
index fb3f42f..0000000
--- a/proxy/TimeTrace.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/** @file
-
-  A brief file description
-
-  @section license License
-
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
- */
-
-/****************************************************************************
-
-  TimeTrace.h
-
-
- ****************************************************************************/
-
-#pragma once
-
-// #define ENABLE_TIME_TRACE
-
-#define TIME_DIST_BUCKETS 500
-#define TIME_DIST_BUCKETS_SIZE TIME_DIST_BUCKETS + 1
-
-#ifdef ENABLE_TIME_TRACE
-extern int cdb_callback_time_dist[TIME_DIST_BUCKETS_SIZE];
-extern int cdb_cache_callbacks;
-
-extern int callback_time_dist[TIME_DIST_BUCKETS_SIZE];
-extern int cache_callbacks;
-
-extern int rmt_callback_time_dist[TIME_DIST_BUCKETS_SIZE];
-extern int rmt_cache_callbacks;
-
-extern int lkrmt_callback_time_dist[TIME_DIST_BUCKETS_SIZE];
-extern int lkrmt_cache_callbacks;
-
-extern int cntlck_acquire_time_dist[TIME_DIST_BUCKETS_SIZE];
-extern int cntlck_acquire_events;
-
-extern int immediate_events_time_dist[TIME_DIST_BUCKETS_SIZE];
-extern int cnt_immediate_events;
-
-extern int inmsg_time_dist[TIME_DIST_BUCKETS_SIZE];
-extern int inmsg_events;
-
-extern int open_delay_time_dist[TIME_DIST_BUCKETS_SIZE];
-extern int open_delay_events;
-#endif // ENABLE_TIME_TRACE
-
-#ifdef ENABLE_TIME_TRACE
-#define LOG_EVENT_TIME(_start_time, _time_dist, _time_cnt)           \
-  do {                                                               \
-    ink_hrtime now      = ink_get_hrtime();                          \
-    unsigned int bucket = (now - _start_time) / HRTIME_MSECONDS(10); \
-    if (bucket > TIME_DIST_BUCKETS)                                  \
-      bucket = TIME_DIST_BUCKETS;                                    \
-    ink_atomic_increment(&_time_dist[bucket], 1);                    \
-    ink_atomic_increment(&_time_cnt, 1);                             \
-  } while (0)
-
-#else // !ENABLE_TIME_TRACE
-#define LOG_EVENT_TIME(_start_time, _time_dist, _time_cnt)
-#endif // !ENABLE_TIME_TRACE
diff --git a/src/traffic_cache_tool/CacheStore.h b/src/traffic_cache_tool/CacheStore.h
deleted file mode 100644
index ba40208..0000000
--- a/src/traffic_cache_tool/CacheStore.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/** @file
-
-  Overall cache storage structures.
-
-  @section license License
-
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
- */
-
-#pragma once
-
-#include <vector>
-
-namespace ApacheTrafficServer
-{
-class CacheStore
-{
-  /// Configuration data for the cache store.
-  class Config
-  {
-  public:
-    /// A single item (line) from the configuration.
-    struct Item {
-      StringView
-    };
-
-  private:
-    /// Items read from the configuration.
-    std::vector<Item> _items;
-    /// The raw text of the configuration file.
-    std::unique_ptr<char *> _text;
-  };
-};
-} // namespace ApacheTrafficServer