Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent
Commits
6ae529cd
Commit
6ae529cd
authored
Sep 15, 2015
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[varnishevent] [LHDO-2557] seen counter increments for every tx read
from VSL (regardless of whether it gets discarded)
parent
89a40ef6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
varnishevent.c
src/varnishevent.c
+1
-1
No files found.
src/varnishevent.c
View file @
6ae529cd
...
@@ -258,6 +258,7 @@ event(struct VSL_data *vsl, struct VSL_transaction * const pt[], void *priv)
...
@@ -258,6 +258,7 @@ event(struct VSL_data *vsl, struct VSL_transaction * const pt[], void *priv)
if
(
debug
)
if
(
debug
)
LOG_Log
(
LOG_DEBUG
,
"Tx: [%u %c]"
,
t
->
vxid
,
tx_type_name
[
t
->
type
]);
LOG_Log
(
LOG_DEBUG
,
"Tx: [%u %c]"
,
t
->
vxid
,
tx_type_name
[
t
->
type
]);
seen
++
;
tx
=
take_tx
();
tx
=
take_tx
();
if
(
tx
==
NULL
)
{
if
(
tx
==
NULL
)
{
no_free_tx
++
;
no_free_tx
++
;
...
@@ -393,7 +394,6 @@ event(struct VSL_data *vsl, struct VSL_transaction * const pt[], void *priv)
...
@@ -393,7 +394,6 @@ event(struct VSL_data *vsl, struct VSL_transaction * const pt[], void *priv)
assert
(
tx
->
state
==
TX_OPEN
);
assert
(
tx
->
state
==
TX_OPEN
);
tx
->
state
=
TX_DONE
;
tx
->
state
=
TX_DONE
;
seen
++
;
MON_StatsUpdate
(
STATS_DONE
,
nrec
,
total_chunks
);
MON_StatsUpdate
(
STATS_DONE
,
nrec
,
total_chunks
);
if
(
tx_occ
>
tx_occ_hi
)
if
(
tx_occ
>
tx_occ_hi
)
tx_occ_hi
=
tx_occ
;
tx_occ_hi
=
tx_occ
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment