Commit Graph

328 Commits

Author SHA1 Message Date
Esun Kim 460898f11c
Migrated from grpc_error_string to grpc_error_std_string (#26068)
* Added grpc_error_std_string
* Migrated to grpc_error_std_string
2021-04-23 16:31:54 -07:00
Esun Kim ca945a58e9
Introduced grpc_error_handle (#25902)
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
2021-04-22 12:00:28 -07:00
Yash Tibrewal f4e55b85bc Replace disrespectful term 2021-02-08 15:29:53 -08:00
Esun Kim be761cd430 Fixed sign-compare warnings 2021-01-27 11:16:18 -08:00
Esun Kim 53ab235fb8 Fix google-explicit-constructor 2020-12-03 15:03:39 -08:00
Esun Kim 2ff84ed8c2 C++ cast for void* 2020-11-30 17:29:15 -08:00
Esun Kim ec0b88a5d7 Fix google-readability-casting 2020-11-30 17:27:51 -08:00
Mark D. Roth e1633396dc Decouple channel creation from channelz child linkage. 2020-09-23 07:44:18 -07:00
Mark D. Roth 0b61aea1c5 Convert grpc_server to idiomatic C++. 2020-08-03 12:56:29 -07:00
Mark D. Roth 3bb427195e Revert "Merge pull request #23053 from grpc/revert-22772-gpr_strvec"
This reverts commit 4b7452bcdb, reversing
changes made to 133d0076b4.
2020-05-28 11:13:12 -07:00
Karthik Ravi Shankar f46c07f3f8
Revert "Remove gpr_strvec." 2020-05-26 17:25:45 -07:00
Mark D. Roth c2ef110303 Replace gpr_strvec with absl::StrJoin(). 2020-05-21 08:47:41 -07:00
Esun Kim 1be6f7aedb Remove flaky flag from channelz_test 2020-05-04 11:40:53 -07:00
Esun Kim 8c64e96458 Fix flaky LastCallStartedTime 2020-04-29 09:45:06 -07:00
Yash Tibrewal 27dd9ec2c6 Fix minimal stack test 2020-04-14 12:52:05 -07:00
Yash Tibrewal d24387ae4f Removing compression from grpc_byte_buffer_reader, removing ManualConstructor in decompress filter and fixing tests 2020-04-13 17:29:27 -07:00
Yash Tibrewal cbb3078064 Fix minimal stack and workaround cronet compression test 2020-04-10 16:43:29 -07:00
Jan Tattermusch 6738f420fd mark channelz_test as flaky 2020-03-18 05:10:22 -04:00
Esun Kim 7a14955759 Replaced grpc_core::MakeUnique with absl::make_unique 2020-02-20 09:46:56 -08:00
Mark D. Roth bc5e3fb661 Convert channelz code to use new JSON API 2020-01-30 10:57:53 -08:00
Esun Kim ed44a1f430 Clean up grpc_core::MakeUnique 2020-01-22 12:29:28 -08:00
Vijay Pai acbbf45737
Merge pull request #20910 from AspirinSJL/disable_client_idle
Disable client_idle_filter
2019-11-15 06:30:27 -08:00
Vijay Pai 9dfa8fb2f1 Temporarily disable client_idle filter check 2019-11-14 13:37:57 -08:00
Esun Kim b2b7fc9af8 Replaced grpc_core::UniquePtr with std::unique_ptr 2019-11-07 13:05:39 -08:00
Esun Kim 5a5734ff03 Use std::string for channelz 2019-11-07 11:01:33 -08:00
Vijay Pai 6352ca3682 Don't check for client_idle since client_idle is disabled 2019-11-07 01:19:55 -08:00
Lidi Zheng c34bef4ca4 Format all Bazel files with buildifier 2019-11-05 14:03:52 -08:00
Vijay Pai 38d87137f8 Remove unused parameter warning (3 of 20) 2019-10-17 08:50:49 -07:00
Jan Tattermusch 24b529e408
Merge pull request #20343 from jtattermusch/bazel_tests_uses_polling
Set "uses_polling" arg for bazel tests
2019-09-30 08:13:31 +02:00
Vijay Pai 0ce673e8cd
Merge pull request #20357 from vjpai/test_macros
Stop using deprecated gtest macros
2019-09-24 23:57:24 -07:00
Vijay Pai 5d7e4bb301 Stop using deprecated gtest macros 2019-09-24 14:56:41 -07:00
yang-g 49b796eeb1 Clean up the test 2019-09-24 12:17:22 -07:00
yang-g 76308c0c9a Fix sanity_check and add a test 2019-09-24 11:53:25 -07:00
Jan Tattermusch 6ebc1c616f set uses_polling=False for some bazel tests 2019-09-24 09:50:00 +02:00
Soheil Hassas Yeganeh c9376b4e0b Use cycle clock instead of clock monotonic to measure call latency.
This removes two more getttime syscalls from the hot path, when cycle
clock is enabled.
2019-09-09 10:37:48 -04:00
Esun Kim e0b94db1b9 Enforce abstract class rule 2019-08-21 08:28:17 -07:00
Qiancheng Zhao 1391c93a95 atomic client idle filter 2019-08-16 14:15:21 -07:00
Soheil Hassas Yeganeh bdd3fdddb2 Expose cycle counter and use it /channelz.
We are using clock real time (which is very expensive) on every
RPC to update channelz. We should simply use cycle clock.

This patch exposes cycle clock, enables RDTSC on intel,
and use it for channelz.

This patch also changes the implementation of time_precise_init
to that more accurately using the monotonic clock and
shorter by looping at most a few hundred milliseconds.

This is part of a larger performance series.
2019-08-07 14:22:24 -04:00
Hope Casey-Allen bd8a04a6e9 Add human-readable names for channelz sockets and listen sockets 2019-07-30 15:53:46 -07:00
Mark D. Roth f9fcdc015d Convert ChannelzRegistry to use Map<> instead of InlinedVector<>. 2019-06-07 09:51:29 -07:00
Mark D. Roth cfb31818ef Remove channelz from LB policy API. 2019-06-07 07:09:39 -07:00
Mark D. Roth 76508bd450 Change ChannelzRegistry::Get() to return a RefCountedPtr<>. 2019-06-05 10:17:35 -07:00
Mark D. Roth eccfecd6a6 Move functions for individual args out of channel_args.{h,cc}. 2019-04-03 13:15:40 -07:00
Mark D. Roth aa149fedbb Revert "Merge pull request #18093 from grpc/revert-17770-lb_policy_picker_api"
This reverts commit f327b83706, reversing
changes made to b3b5d63423.
2019-02-19 13:19:24 -08:00
hcaseyal 275296c594
Revert "LB policy picker API" 2019-02-19 11:05:52 -08:00
Mark D. Roth bab8123763 LB policy picker API 2019-02-13 08:30:04 -08:00
Soheil Hassas Yeganeh 94564d1c22 Update the channelz compaction test to use 300 entries. 2019-02-06 12:33:05 -05:00
yang-g 67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
yang-g e75fc243da change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
ncteisen 693f46841a Add GetServer to core 2018-10-24 17:31:30 -07:00