You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/08/09 08:55:57 UTC

[GitHub] [pulsar] brightsparc opened a new issue #11603: Python context `del_counter` not calling the `delete_key` implementation in conte

brightsparc opened a new issue #11603:
URL: https://github.com/apache/pulsar/issues/11603


   **Describe the bug**
   Unable to delete a counter on the context due regression in the state_context which renamed `delete` to `delete_key`.
   
   **Expected behavior**
   The context [del_counter](https://github.com/apache/pulsar/blob/master/pulsar-functions/instance/src/main/python/contextimpl.py#L236) method should be calling [delete_key](https://github.com/apache/pulsar/blob/master/pulsar-functions/instance/src/main/python/state_context.py#L159) method not `delete` which is not supported, and therefore not clearing the key.
   
   **Desktop (please complete the following information):**
    - OS: macosx
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on issue #11603: Python context `del_counter` not calling the `delete_key` implementation in context

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #11603:
URL: https://github.com/apache/pulsar/issues/11603#issuecomment-1058887256


   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org