← Back to team overview

mysql-proxy-discuss team mailing list archive

Re: funnel - a multiplexer plugin for mysql-proxy

 

nick loeve wrote:
>> Yep, the _op structure is prepared for a async delete too. It isn't
>> implemented yet.
> 
> I implemented it and it seemed to have fixed my issue. Finally! :)
> 
> I pushed the updates to my branch.
> 
> Expect some event-thread-based benchmarks as soon as we have some
> plugin-internal statistics implemented.

Depending on how it is implemented, we may have to take care of a race
on the del-event:

   chassis_event_del(...); /* async, only queues the request to delete
the event */
   close(fd);

The fd may be reused before its event is deleted. This is only really
affecting network_socket_free()/network_socket_close(), but I wanted to
raise it at least.


cheers,
  Jan
-- 
 jan: "Gee, Brain^WEric, what'd you wanna do tonight?"
eric: Same thing we do everynight: Take over the HelloWorld!



References