You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "traeak (via GitHub)" <gi...@apache.org> on 2025/09/15 15:30:37 UTC
[PR] API for Strategy rebind during transaction [trafficserver]
traeak opened a new pull request, #12512:
URL: https://github.com/apache/trafficserver/pull/12512
This adds to the ts api to allows the selected parent strategy to be changed during a transaction.
APIs added:
- void TSHttpTxnNextHopStrategySet(TSHttpTxn txnp, void *const strategy);
- TSReturnCode TSHttpTxnNextHopStrategyGet(TSHttpTxn txnp, void **strategy);
- TSReturnCode TSHttpTxnNamedNextHopStrategyGet(char const *name, void **strategy);
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] API for Next Hop Strategy rebind during a transaction [trafficserver]
Posted by "traeak (via GitHub)" <gi...@apache.org>.
traeak commented on PR #12512:
URL: https://github.com/apache/trafficserver/pull/12512#issuecomment-3319837856
[approve ci autest]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] API for Next Hop Strategy rebind during a transaction [trafficserver]
Posted by "traeak (via GitHub)" <gi...@apache.org>.
traeak commented on PR #12512:
URL: https://github.com/apache/trafficserver/pull/12512#issuecomment-3319834196
approve ci autest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] API for Next Hop Strategy rebind during a transaction [trafficserver]
Posted by "jrushford (via GitHub)" <gi...@apache.org>.
jrushford commented on PR #12512:
URL: https://github.com/apache/trafficserver/pull/12512#issuecomment-3400128456
@bryancall Yes, I've been talking with Bryan about it. I'll take a look but, give me a day as I'm currently traveling.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] API for Next Hop Strategy rebind during a transaction [trafficserver]
Posted by "traeak (via GitHub)" <gi...@apache.org>.
traeak merged PR #12512:
URL: https://github.com/apache/trafficserver/pull/12512
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] API for Next Hop Strategy rebind during a transaction [trafficserver]
Posted by "zwoop (via GitHub)" <gi...@apache.org>.
zwoop commented on PR #12512:
URL: https://github.com/apache/trafficserver/pull/12512#issuecomment-3335192136
Did you email the mailing list with the new API additions ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] API for Next Hop Strategy rebind during a transaction [trafficserver]
Posted by "bryancall (via GitHub)" <gi...@apache.org>.
bryancall commented on PR #12512:
URL: https://github.com/apache/trafficserver/pull/12512#issuecomment-3399306795
@jrushford Hey, do you want to take a look at this PR for us?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] API for Next Hop Strategy rebind during a transaction [trafficserver]
Posted by "jrushford (via GitHub)" <gi...@apache.org>.
jrushford commented on PR #12512:
URL: https://github.com/apache/trafficserver/pull/12512#issuecomment-3408881429
> I think more tests need to be added for corner cases. Also on request am working on setting up a stress test case to ensure that converting the strategy shared_ptr to plain pointers doesn't result in faults.
+1 on more stress testing. I was worried that changing from shared_ptr to plain pointers might result in memory leaks or crashes when remap.config and strategies.yaml is reloaded.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] API for Next Hop Strategy rebind during a transaction [trafficserver]
Posted by "traeak (via GitHub)" <gi...@apache.org>.
traeak commented on PR #12512:
URL: https://github.com/apache/trafficserver/pull/12512#issuecomment-3373233044
I think more tests need to be added for corner cases. Also on request am working on setting up a stress test case to ensure that converting the strategy shared_ptr to plain pointers doesn't result in faults.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] API for Next Hop Strategy rebind during a transaction [trafficserver]
Posted by "traeak (via GitHub)" <gi...@apache.org>.
traeak commented on PR #12512:
URL: https://github.com/apache/trafficserver/pull/12512#issuecomment-3373234321
[approve ci autest]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] API for Next Hop Strategy rebind during a transaction [trafficserver]
Posted by "traeak (via GitHub)" <gi...@apache.org>.
traeak commented on PR #12512:
URL: https://github.com/apache/trafficserver/pull/12512#issuecomment-3411576210
I stress tested using traffic replay and with constantly forcing reloads every few seconds. I didn't observe any hiccups or issues. A shame tsan is messy at the moment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org