Skip to content

Conversation

@scw00
Copy link
Member

@scw00 scw00 commented Jan 26, 2019

The client vc might be closed when we call ua_txn->do_io_close() and freed by write_signal_and_update /root/trafficserver/iocore/net/UnixNetVConnection.cc:133. But tunnel is still alive because cache write are not finishing. So we need to clean up ua_entry before call kill_sm->vc_table->cleanup_all().

@scw00 scw00 added this to the 9.0.0 milestone Jan 26, 2019
@scw00 scw00 self-assigned this Jan 26, 2019
@scw00
Copy link
Member Author

scw00 commented Jan 26, 2019

#4871

@oknet
Copy link
Member

oknet commented Jan 26, 2019

With PR #4020 merged, It is required to remove VCEntry from VCTable once perform do_io_close on a VC.

+1

oknet
oknet previously approved these changes Jan 26, 2019
@scw00
Copy link
Member Author

scw00 commented Jan 26, 2019

reference to #4020 .

@oknet Point me out the change in #4020 leads more change here. The original entry is unable to touch vio. But we need to clean up every entry when they call do_io_close now. So I'm confusing with #4020 why we do that ?

@shinrich @SolidWallOfCode

@scw00 scw00 force-pushed the cleanup_ua_entry branch 2 times, most recently from 8ce044e to d0d352c Compare January 30, 2019 07:21
oknet
oknet previously approved these changes Jan 30, 2019
@scw00
Copy link
Member Author

scw00 commented Feb 15, 2019

@zwoop this is the candidate of 8.x and 7.x as #4020 does.

@scw00 scw00 merged commit a37f0d9 into apache:master Feb 15, 2019
@scw00 scw00 deleted the cleanup_ua_entry branch February 16, 2019 00:05
@zwoop
Copy link
Contributor

zwoop commented Feb 21, 2019

Did this get cherry picked to 7.1.x too?

@bryancall bryancall modified the milestones: 9.0.0, 8.1.0 Mar 27, 2019
@bryancall
Copy link
Contributor

Cherry picked to 8.1.0

@zwoop zwoop modified the milestones: 8.1.0, 8.1.0-nogo Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants