[grpc-io] Re: Announcement: Possible breaking change to community-supported platforms on gRPC-core

2022-02-01 Thread 'AJ Heller' via grpc.io
Update on the timeline: we now expect to land this change in the master 
branch in the next few weeks, followed by an official release this coming 
March or April. As stated above, this change will require libuv to build on 
all supported platforms, and we've made an effort to ensure all supported 
platforms will continue to function seamlessly. If you have any questions 
or concerns about this change, please don't hesitate to reach out.

Best regards,
-aj

On Wednesday, November 3, 2021 at 10:43:13 AM UTC-7 AJ Heller wrote:

> Hello gRPC community!
>
> I'll be introducing a change (#27513 
> ) to gRPC-core which may break 
> the build on some community-supported platforms 
> .
>  
> This affects all of the languages that rely on gRPC-core, including C++, 
> Python, Ruby, Objective-C, and PHP.
>
> We've taken great care to ensure that the officially-supported platforms 
> (many versions of Linux, MacOS, Windows), along with some of the platforms 
> with best-effort support (Android and iOS), are covered by our continuous 
> integration test suite. These platforms should continue to build and run 
> happily. The community-supported platforms may or may not continue to 
> build, we don't have the resources to test them all. We continue to rely 
> on external contributions to maintain gRPC on these platforms.
>
> If you use gRPC-core on a community-supported platform, please check out 
> and attempt to build PR #27513 . 
> The PR does not introduce any functional changes at this time, so a 
> successful build should be sufficient. Ultimately, we are working towards 
> having libuv  drive gRPC's low-level I/O operations. 
> It may be worth testing libuv on your platform as well to ensure core 
> functionality is working.
>
> As currently planned, this change will land in the gRPC master branch the 
> week of Nov 8th-12th, and it will likely be included in the v1.43 release 
> of gRPC in mid-December.
>
> Best regards,
>
> AJ Heller
> Software Engineer
>
> ho...@google.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/e8a5a61d-be70-4216-afe6-fc4cfecd5850n%40googlegroups.com.


[grpc-io] Re: c++: gRPC shutdown() hangs for ever

2022-02-01 Thread Prasanta Behera
No, I've not found any solution yet! I was trying to have a hello-world 
kind of example to reproduce to open a ticket, but as you said with such 
simple examples it never reproduces...

On Tuesday, February 1, 2022 at 1:42:43 PM UTC+5:30 Anh Tran wrote:

> I should also add that this behavior happens during threading. 
>
> On Tuesday, February 1, 2022 at 3:45:04 PM UTC+10 Anh Tran wrote:
>
>> Unfortunately I came across the same problem. 
>> When trying to isolate the problem (having a simple hello world 
>> server-client), the problem seems to go away, i.e server can be shut down. 
>>
>> But when using in my own project, this happens. And despite my effort to 
>> track down the problem, I can't seem to spot one.
>> This is weird since this version of Shutdown should force shut down after 
>> a certain period, as describe in the doc.
>>
>> Prasanta, do you happen to find the solution to your problem? Maybe it 
>> will give a hint to mine.
>>
>> On Thursday, January 20, 2022 at 10:02:43 PM UTC+10 Prasanta Behera wrote:
>>
>>> gRPC version : 1.30.2 (c++)
>>> $ gcc --version
>>> gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
>>>
>>> We use gRPC is synchronous mode and stop our gRPC services with this 
>>> code
>>>
>>> m_server->Shutdown(std::chrono::system_clock::now() + 
>>> std::chrono::seconds(1));
>>> m_server->Wait();
>>>
>>> On rare occasions (about once in 1000  tries) the Shutdown() call does 
>>> NOT return and the process just hangs.
>>>
>>> Is there anything I missing to have a reliable shutdown of the server?
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/36c5b5b6-e122-40f0-ab72-2ebf8b7e4e19n%40googlegroups.com.


[grpc-io] Re: c++: gRPC shutdown() hangs for ever

2022-02-01 Thread Prasanta Behera
Unfortu

On Tuesday, February 1, 2022 at 1:42:43 PM UTC+5:30 Anh Tran wrote:

> I should also add that this behavior happens during threading. 
>
> On Tuesday, February 1, 2022 at 3:45:04 PM UTC+10 Anh Tran wrote:
>
>> Unfortunately I came across the same problem. 
>> When trying to isolate the problem (having a simple hello world 
>> server-client), the problem seems to go away, i.e server can be shut down. 
>>
>> But when using in my own project, this happens. And despite my effort to 
>> track down the problem, I can't seem to spot one.
>> This is weird since this version of Shutdown should force shut down after 
>> a certain period, as describe in the doc.
>>
>> Prasanta, do you happen to find the solution to your problem? Maybe it 
>> will give a hint to mine.
>>
>> On Thursday, January 20, 2022 at 10:02:43 PM UTC+10 Prasanta Behera wrote:
>>
>>> gRPC version : 1.30.2 (c++)
>>> $ gcc --version
>>> gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
>>>
>>> We use gRPC is synchronous mode and stop our gRPC services with this 
>>> code
>>>
>>> m_server->Shutdown(std::chrono::system_clock::now() + 
>>> std::chrono::seconds(1));
>>> m_server->Wait();
>>>
>>> On rare occasions (about once in 1000  tries) the Shutdown() call does 
>>> NOT return and the process just hangs.
>>>
>>> Is there anything I missing to have a reliable shutdown of the server?
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/60d5dab3-4c87-42c9-84d3-5d2c19285f4fn%40googlegroups.com.


[grpc-io] Re: c++: gRPC shutdown() hangs for ever

2022-02-01 Thread Anh Tran
I should also add that this behavior happens during threading. 

On Tuesday, February 1, 2022 at 3:45:04 PM UTC+10 Anh Tran wrote:

> Unfortunately I came across the same problem. 
> When trying to isolate the problem (having a simple hello world 
> server-client), the problem seems to go away, i.e server can be shut down. 
>
> But when using in my own project, this happens. And despite my effort to 
> track down the problem, I can't seem to spot one.
> This is weird since this version of Shutdown should force shut down after 
> a certain period, as describe in the doc.
>
> Prasanta, do you happen to find the solution to your problem? Maybe it 
> will give a hint to mine.
>
> On Thursday, January 20, 2022 at 10:02:43 PM UTC+10 Prasanta Behera wrote:
>
>> gRPC version : 1.30.2 (c++)
>> $ gcc --version
>> gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
>>
>> We use gRPC is synchronous mode and stop our gRPC services with this code
>>
>> m_server->Shutdown(std::chrono::system_clock::now() + 
>> std::chrono::seconds(1));
>> m_server->Wait();
>>
>> On rare occasions (about once in 1000  tries) the Shutdown() call does 
>> NOT return and the process just hangs.
>>
>> Is there anything I missing to have a reliable shutdown of the server?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/f8facd65-b6f6-43f9-90a6-c87875f414b1n%40googlegroups.com.