You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2020/08/26 22:20:07 UTC

[GitHub] [bookkeeper] merlimat opened a new pull request #2402: Trigger flush if write cache is full while waiting

merlimat opened a new pull request #2402:
URL: https://github.com/apache/bookkeeper/pull/2402


   ### Motivation
   
   Under heavy load, the write cache can fill up faster than it can be
   flushed. When this occurs, something needs to trigger the
   flush. Previously we've triggered the flush and then gone into a loop
   waiting to be able to add to the write cache. However, if the
   currently active write cache fills while we are waiting for the
   flushing write cache to be flushed, we can end up in a situation where
   nothing is able to flush because all I/O threads are waiting for the
   write cache to empty.
   
   The solution is to move the flush into the loop so that if we fail to
   add to the cache, we flush the write cache if it is needed.
   


----------------------------------------------------------------
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.

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



Re: [GitHub] [bookkeeper] jiazhai merged pull request #2402: Trigger flush if write cache is full while waiting

Posted by Enrico Olivelli <eo...@gmail.com>.
Sorry

That was my son :)

Enrico

Il Gio 27 Ago 2020, 10:23 Enrico Olivelli <eo...@gmail.com> ha scritto:

> C  t cc" u  hfwg
>
> Il Gio 27 Ago 2020, 01:46 GitBox <gi...@apache.org> ha scritto:
>
>>
>> jiazhai merged pull request #2402:
>> URL: https://github.com/apache/bookkeeper/pull/2402
>>
>>
>>
>>
>>
>> ----------------------------------------------------------------
>> 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.
>>
>> For queries about this service, please contact Infrastructure at:
>> users@infra.apache.org
>>
>>
>>

Re: [GitHub] [bookkeeper] jiazhai merged pull request #2402: Trigger flush if write cache is full while waiting

Posted by Enrico Olivelli <eo...@gmail.com>.
C  t cc" u  hfwg

Il Gio 27 Ago 2020, 01:46 GitBox <gi...@apache.org> ha scritto:

>
> jiazhai merged pull request #2402:
> URL: https://github.com/apache/bookkeeper/pull/2402
>
>
>
>
>
> ----------------------------------------------------------------
> 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.
>
> For queries about this service, please contact Infrastructure at:
> users@infra.apache.org
>
>
>

[GitHub] [bookkeeper] jiazhai merged pull request #2402: Trigger flush if write cache is full while waiting

Posted by GitBox <gi...@apache.org>.
jiazhai merged pull request #2402:
URL: https://github.com/apache/bookkeeper/pull/2402


   


----------------------------------------------------------------
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.

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