Github user oknet commented on the issue:

    https://github.com/apache/trafficserver/pull/771
  
    @bryancall I'm found open_list also used in Cluster.
    
    file: iocore/cluster/ClusterHandlerBase.cc
    ```
    1007     case ClusterHandler::CLCON_CONN_BIND_CLEAR: {
    1008       UnixNetVConnection *vc = (UnixNetVConnection *)net_vc;
    1009       MUTEX_TRY_LOCK(lock, vc->nh->mutex, e->ethread);
    1010       MUTEX_TRY_LOCK(lock1, vc->mutex, e->ethread);
    1011       if (lock.is_locked() && lock1.is_locked()) {
    1012         vc->ep.stop();
    1013         vc->nh->open_list.remove(vc);
    1014         vc->thread = NULL;
    1015         if (vc->nh->read_ready_list.in(vc))
    1016           vc->nh->read_ready_list.remove(vc);
    1017         if (vc->nh->write_ready_list.in(vc))
    1018           vc->nh->write_ready_list.remove(vc);
    1019         if (vc->read.in_enabled_list)
    1020           vc->nh->read_enable_list.remove(vc);
    1021         if (vc->write.in_enabled_list)
    1022           vc->nh->write_enable_list.remove(vc);
    1023 
    1024         // CLCON_CONN_BIND handle in bind vc->thread (bind thread nh)
    1025         cluster_connect_state = ClusterHandler::CLCON_CONN_BIND;
    1026         thread->schedule_in(this, CLUSTER_PERIOD);
    1027         return EVENT_DONE;
    1028       } else {
    1029         // CLCON_CONN_BIND_CLEAR handle in origin vc->thread (origin 
thread nh)
    1030         vc->thread->schedule_in(this, CLUSTER_PERIOD);
    1031         return EVENT_DONE;
    1032       }
    1033     }
    ```
    
    Is there have InactivityCop for Cluster? I am not familiar with the cluster.
    I'm should add "vc->nh->cop_list.remove(vc);" after Line 1013 if yes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to