odyssey icon indicating copy to clipboard operation
odyssey copied to clipboard

Cpu consume 100% when \copy

Open peresun opened this issue 4 years ago • 4 comments

When I run '\copy ... from ...', odyssey consume 100% CPU. Writev will always retry forever even if no buffer left when NON_BLOCK is set. But I think close NON_BLOCK is not a good idea.

peresun avatar May 12 '21 03:05 peresun

Another question: Does Odyssey correctly handle the problem of successful writing of partial data of writev?

I think mm_iov_advance handle the problem, thanks

peresun avatar May 12 '21 03:05 peresun

Thanks for reaching out. Sorry, i did not have time yet to reproduce the problem. Did you find out that COPY works OK?

x4m avatar May 13 '21 09:05 x4m

Copy works OK, but cpu consume 100%.

At 2021-05-13 17:18:31, "Andrey Borodin" @.***> wrote:

Thanks for reaching out. Sorry, i did not have time yet to reproduce the problem. Did you find out that COPY works OK?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

peresun avatar May 13 '21 10:05 peresun

This seems like a bug which we would have to address. Though I still did not reproduce it :(

x4m avatar May 14 '21 07:05 x4m