Skip to content

Conversation

oleg-jukovec
Copy link
Contributor

This patchset contains an internal refactoring to implement roles for Tarantool 3.0. It splits roles for Tarantool Cartridge to a logical blocks that could be reused to build Tarantool 3.0 roles.

Part of #68

@oleg-jukovec oleg-jukovec changed the title internal: refactoring to prepare for roles. internal: refactoring to prepare for roles Apr 3, 2024
@oleg-jukovec oleg-jukovec requested review from DerekBum and removed request for better0fdead April 3, 2024 10:29
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/gh-68-refactoring branch from da4b966 to 9fe81a9 Compare April 3, 2024 11:08
@coveralls
Copy link

coveralls commented Apr 3, 2024

Pull Request Test Coverage Report for Build 8539202019

Details

  • 489 of 518 (94.4%) changed or added relevant lines in 12 files are covered.
  • 5 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.2%) to 92.839%

Changes Missing Coverage Covered Lines Changed/Added Lines %
sharded_queue/api.lua 23 24 95.83%
sharded_queue/storage/methods.lua 30 31 96.77%
sharded_queue/storage/tubes.lua 44 46 95.65%
sharded_queue/utils.lua 12 14 85.71%
sharded_queue/router/queue.lua 68 75 90.67%
sharded_queue/router/tube.lua 230 246 93.5%
Files with Coverage Reduction New Missed Lines %
sharded_queue/utils.lua 1 88.14%
sharded_queue/drivers/fifo.lua 1 76.15%
sharded_queue/api.lua 3 93.65%
Totals Coverage Status
Change from base Build 8411782711: 0.2%
Covered Lines: 1076
Relevant Lines: 1159

💛 - Coveralls

Calls on vshard replicasets at first glance do not bring additional
load, but at the same time they make the code more general and portable
to Tarantool 3.0.

Part of #68
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/gh-68-refactoring branch from 9fe81a9 to 3cea4e9 Compare April 3, 2024 11:42
Copy link

@DerekBum DerekBum left a comment

Choose a reason for hiding this comment

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

Lgtm! Just a few little comments.

The patch splits a large file `storage.lua` with a Cartridge
role for a few smaller files based on their functionality.
It will help to create a Tarantool 3.0 role from that blocks
instead of copy-paste.

Part of #68
The patch splits a large file `api.lua` with a Cartridge
role for a few smaller files based on their functionality.
It will help to create a Tarantool 3.0 role from that blocks
instead of copy-paste.

Part of #68
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/gh-68-refactoring branch from 3cea4e9 to 960376e Compare April 3, 2024 13:03
@oleg-jukovec oleg-jukovec merged commit 9f2ceed into master Apr 3, 2024
@oleg-jukovec oleg-jukovec deleted the oleg-jukovec/gh-68-refactoring branch April 3, 2024 13:50
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.

4 participants