Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-28554

Ability to Clear Timers

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 5.5.0
    • Neo.next
    • eventing
    • None

    Description

      As of now, the only possible way to clear the TIMERs created are via the checkboxes shown at the deployment. If the developer/administrator misses this action, then there is no alternate/fallback scheme to clear the timers; there is no REST endpoint. 

      Also, some business flows might require to cancel timers based on certain conditions.

      It should be possible to clear timers based on:

      • Timer Type - cronTimer or docTimer
      • Doc ID(only for docTimers)
      • FunctionName
      • Timestamp

       

      P0: Ability to Clean Timers for a given time window 

      • The time window mentioned is the time window in which the timers had to be executed, and not the doc's mutation time.
      • Ability to be exposed via REST-API/CLI and UI.
        • Ability to be exposed only when the Function is in Paused state.
        • In the UI, the 'Clear Timers' button will be shown only when the Function is paused. Do not show the button otherwise. Clicking the button should prompt a dialog that shows the time-window in which the timers have to be cleared.

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            venkatraman.subramanian Venkatraman Subramanian (Inactive) created issue -
            venkatraman.subramanian Venkatraman Subramanian (Inactive) made changes -
            Field Original Value New Value
            Description As of now, the only possible way to clear the TIMERs created are via the checkboxes shown at the deployment. If the developer/administrator misses this action, then there is no alternate/fallback scheme to clear the timers; there is no REST endpoint. 

            This should be a specific endpoint at the Function level and not at the cluster/node level.
            As of now, the only possible way to clear the TIMERs created are via the checkboxes shown at the deployment. If the developer/administrator misses this action, then there is no alternate/fallback scheme to clear the timers; there is no REST endpoint. 

            Also, some business flows might require to cancel timers based on certain conditions.

            It should be possible to clear timers based on:
             * Timer Type - cronTimer or docTimer
             * Doc ID(only for docTimers)
             * FunctionName
             * Timestamp
            venkatraman.subramanian Venkatraman Subramanian (Inactive) made changes -
            Link This issue blocks MB-28734 [ MB-28734 ]
            siri Sriram Melkote (Inactive) made changes -
            Fix Version/s Mad-Hatter [ 15037 ]
            Fix Version/s Alice [ 15048 ]
            venkatraman.subramanian Venkatraman Subramanian (Inactive) made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            venkatraman.subramanian Venkatraman Subramanian (Inactive) made changes -
            Link This issue blocks MB-28052 [ MB-28052 ]
            venkatraman.subramanian Venkatraman Subramanian (Inactive) made changes -
            Description As of now, the only possible way to clear the TIMERs created are via the checkboxes shown at the deployment. If the developer/administrator misses this action, then there is no alternate/fallback scheme to clear the timers; there is no REST endpoint. 

            Also, some business flows might require to cancel timers based on certain conditions.

            It should be possible to clear timers based on:
             * Timer Type - cronTimer or docTimer
             * Doc ID(only for docTimers)
             * FunctionName
             * Timestamp
            As of now, the only possible way to clear the TIMERs created are via the checkboxes shown at the deployment. If the developer/administrator misses this action, then there is no alternate/fallback scheme to clear the timers; there is no REST endpoint. 

            Also, some business flows might require to cancel timers based on certain conditions.

            It should be possible to clear timers based on:
             * Timer Type - cronTimer or docTimer
             * Doc ID(only for docTimers)
             * FunctionName
             * Timestamp

             

            P0: Ability to Clean Timers for a given time window 
             * The time window mentioned is the time window in which the timers had to be executed, and not the doc's mutation time.
             * Ability to be exposed via REST-API/CLI and UI.
             ** Ability to be exposed only when the Function is in Paused state.
             ** In the UI, the 'Clear Timers' button will be shown only when the Function is paused. Do not show the button otherwise. Clicking the button should prompt a dialog that shows the time-window in which the timers have to be cleared.

             
            venkatraman.subramanian Venkatraman Subramanian (Inactive) made changes -
            Summary REST Endpoint to Clear Timers Ability to Clear Timers
            siri Sriram Melkote (Inactive) made changes -
            Assignee Sriram Melkote [ siri ] Gautham Banasandra [ gautham.banasandra ]
            jeelan.poola Jeelan Poola made changes -
            Fix Version/s Cheshire-Cat [ 15915 ]
            Fix Version/s Mad-Hatter [ 15037 ]
            siri Sriram Melkote (Inactive) made changes -
            Assignee Gautham Banasandra [ gautham.banasandra ] Sriram Melkote [ siri ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue blocks MB-38729 [ MB-38729 ]
            jeelan.poola Jeelan Poola made changes -
            Fix Version/s CheshireCat.Next [ 16908 ]
            jeelan.poola Jeelan Poola made changes -
            Fix Version/s Cheshire-Cat [ 15915 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue blocks MB-38729 [ MB-38729 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue relates to MB-38729 [ MB-38729 ]
            siri Sriram Melkote (Inactive) made changes -
            Assignee Sriram Melkote [ siri ] Jeelan Poola [ jeelan.poola ]
            jeelan.poola Jeelan Poola made changes -
            Fix Version/s Neo.next [ 18242 ]
            Fix Version/s CheshireCat.Next [ 16908 ]
            srinivasan.raman Srinivasan Raman made changes -
            Assignee Jeelan Poola [ jeelan.poola ] Srinivasan Raman [ JIRAUSER25123 ]

            People

              srinivasan.raman Srinivasan Raman
              venkatraman.subramanian Venkatraman Subramanian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty