Skip to content

Commit

Permalink
Bump abseil and grpc
Browse files Browse the repository at this point in the history
Signed-off-by: jakub-racek-swi <jakub.racek@solarwinds.com>
  • Loading branch information
jakub-racek-swi committed Sep 12, 2024
1 parent e34d776 commit 82f9896
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion reducer/ingest/tcp_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class TcpServer {
std::vector<std::unique_ptr<IngestWorker>> workers_;
std::unique_ptr<LoadBalancer<Worker *>> worker_balancer_;

Stats stats_ GUARDED_BY(stats_mu_);
Stats stats_ ABSL_GUARDED_BY(stats_mu_);
mutable absl::Mutex stats_mu_;
};

Expand Down
4 changes: 2 additions & 2 deletions reducer/load_balancer.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ template <typename T> class LoadBalancer {
using EntrySet = std::multiset<Entry>;
using EntryIterator = typename EntrySet::const_iterator;

EntrySet entries_ GUARDED_BY(mu_);
absl::flat_hash_map<T, EntryIterator> elem_to_entry_it_ GUARDED_BY(mu_);
EntrySet entries_ ABSL_GUARDED_BY(mu_);
absl::flat_hash_map<T, EntryIterator> elem_to_entry_it_ ABSL_GUARDED_BY(mu_);
mutable absl::Mutex mu_;
};

Expand Down
4 changes: 2 additions & 2 deletions reducer/worker.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ class Worker {
// Various fields that deal with the queueing and processing of
// newly-assigned TCP sockets.
uv_async_t open_tcp_socks_async_;
std::vector<uv_os_sock_t> tcp_sock_fds_ GUARDED_BY(mu_);
std::vector<uv_os_sock_t> tcp_sock_fds_ ABSL_GUARDED_BY(mu_);
mutable absl::Mutex mu_;

// The queue of visitors.
uv_async_t visit_async_;
std::vector<Visitor> visitors_ GUARDED_BY(mu_);
std::vector<Visitor> visitors_ ABSL_GUARDED_BY(mu_);

// The async used to stop this thread.
uv_async_t stop_async_;
Expand Down

0 comments on commit 82f9896

Please sign in to comment.