Skip to content

[HZ-5405] Executor for Asyncio#790

Open
yuce wants to merge 3 commits intohazelcast:masterfrom
yuce:asyncio-executor
Open

[HZ-5405] Executor for Asyncio#790
yuce wants to merge 3 commits intohazelcast:masterfrom
yuce:asyncio-executor

Conversation

@yuce
Copy link
Copy Markdown
Contributor

@yuce yuce commented Mar 23, 2026

Straightforward port of Executor proxy, and its tests to asyncio

@yuce yuce changed the title Ported Executor to asyncio Executor for Asyncio Mar 23, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 23, 2026

Codecov Report

❌ Patch coverage is 90.76923% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.44%. Comparing base (d3d1a0b) to head (4be2414).

Files with missing lines Patch % Lines
hazelcast/internal/asyncio_proxy/executor.py 89.28% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #790   +/-   ##
=======================================
  Coverage   94.43%   94.44%           
=======================================
  Files         398      399    +1     
  Lines       25932    25997   +65     
=======================================
+ Hits        24489    24552   +63     
- Misses       1443     1445    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yuce yuce requested review from emreyigit and ihsandemir March 23, 2026 15:27
@yuce yuce changed the title Executor for Asyncio [HZ-5405] Port Executor for Asyncio Apr 1, 2026
@yuce yuce changed the title [HZ-5405] Port Executor for Asyncio [HZ-5405] Executor for Asyncio Apr 2, 2026
self._invocation_service.invoke(invocation)
return invocation.future

async def _ainvoke_on_target(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

method only called from one place, Executor._execute_on_member. why do you introduce yet another utility method like this instead of awaiting at the called method?

except SchemaNotReplicatedError as e:
return await self._send_schema_and_retry(e, self.execute_on_members, members, task)

uuid = uuid4()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants