You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/05/25 16:50:00 UTC

[GitHub] [accumulo] ctubbsii opened a new issue, #2731: Monitor clicking clear logs button didn't refresh the page

ctubbsii opened a new issue, #2731:
URL: https://github.com/apache/accumulo/issues/2731

   I did not have auto-refresh on in the monitor page, and I clicked the clear logs button on the logs page. I did not immediately see any changes to the page. I manually refreshed the page and saw that the logs had been cleared. I'm not sure if this is reproducible 100% of the time, but wanted to make note of it, in case it's a bug that needs to be tracked down.


-- 
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: notifications-unsubscribe@accumulo.apache.org.apache.org

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


[GitHub] [accumulo] DomGarguilo closed issue #2731: Monitor clicking clear logs button didn't refresh the page

Posted by GitBox <gi...@apache.org>.
DomGarguilo closed issue #2731: Monitor clicking clear logs button didn't refresh the page
URL: https://github.com/apache/accumulo/issues/2731


-- 
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: notifications-unsubscribe@accumulo.apache.org

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


[GitHub] [accumulo] DomGarguilo commented on issue #2731: Monitor clicking clear logs button didn't refresh the page

Posted by GitBox <gi...@apache.org>.
DomGarguilo commented on issue #2731:
URL: https://github.com/apache/accumulo/issues/2731#issuecomment-1137611991

   Looks like this code has not been changed recently. I was able to reproduce the bug you described and I think I see what is going on. Looking at the logs, it looks like the request to fetch the new data for the table happens before the post request executes which clears the table:
   ```
   POST call to /rest/logs/clear                                    [functions.js:321:11](http://localhost:9995/resources/js/functions.js)
   Retrieving /rest/status                                              [functions.js:290:11](http://localhost:9995/resources/js/functions.js)
   REST POST call to /rest/logs/clear: success           [functions.js:325:13](http://localhost:9995/resources/js/functions.js)
   ```
   The operation to fetch new data that populates the table (represented by the middle log message) should happen last, I have an idea for a fix and will work on a PR for this now.


-- 
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: notifications-unsubscribe@accumulo.apache.org

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