Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
c22afc8a
Commit
c22afc8a
authored
Jul 04, 2012
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not consider busy objects as candidates in EXP_NukeOne.
An attempt to nuke a busy object will end in assertion.
parent
1172fc93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cache_expire.c
bin/varnishd/cache/cache_expire.c
+3
-2
No files found.
bin/varnishd/cache/cache_expire.c
View file @
c22afc8a
...
...
@@ -428,9 +428,10 @@ EXP_NukeOne(struct busyobj *bo, struct lru *lru)
/*
* It wont release any space if we cannot release the last
* reference, besides, if somebody else has a reference,
* it's a bad idea to nuke this object anyway.
* it's a bad idea to nuke this object anyway. Also do not
* touch busy objects.
*/
if
(
oc
->
refcnt
==
1
)
if
(
oc
->
refcnt
==
1
&&
!
(
oc
->
flags
&
OC_F_BUSY
)
)
break
;
}
if
(
oc
!=
NULL
)
{
...
...
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