Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Update keydb to 6.3.4 (#7118)" #7236

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Dec 7, 2023

Motivation and context

That KeyDB version turned out rather unstable in practice, with multiple crashes and freezes observed in production.

Resolved #7238

This reverts commit 118cc72.

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • [ ] I have updated the documentation accordingly
  • [ ] I have added tests to cover my changes
  • [ ] I have linked related issues (see GitHub docs)
  • [ ] I have increased versions of npm packages if it is necessary
    (cvat-canvas,
    cvat-core,
    cvat-data and
    cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

That KeyDB version turned out rather unstable in practice, with multiple
crashes and freezes observed in production.

This reverts commit 118cc72.
@SpecLad SpecLad marked this pull request as ready for review December 7, 2023 12:53
@SpecLad SpecLad requested review from azhavoro and removed request for azhavoro December 7, 2023 12:53
@StefanB7
Copy link

StefanB7 commented Dec 8, 2023

We have also been experiencing crashes and segfaults with KeyDB 6.3.4, thanks for the PR!

@StefanB7 StefanB7 mentioned this pull request Dec 8, 2023
2 tasks
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #7236 (7d4994a) into develop (571e622) will decrease coverage by 0.19%.
Report is 1 commits behind head on develop.
The diff coverage is n/a.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7236      +/-   ##
===========================================
- Coverage    81.54%   81.36%   -0.19%     
===========================================
  Files          365      366       +1     
  Lines        39261    39357      +96     
  Branches      3631     3644      +13     
===========================================
+ Hits         32016    32023       +7     
- Misses        7245     7334      +89     
Components Coverage Δ
cvat-ui 75.07% <ø> (-0.35%) ⬇️
cvat-server 87.09% <ø> (-0.01%) ⬇️

@@ -249,7 +249,6 @@ keydb:
enabled: true
external:
host: 127.0.0.1
imageTag: x86_64_v6.3.4
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we specify x86_64_v6.3.2 explicitly? Even it is a default value, can it be changed by someone outside?

Copy link
Contributor

Choose a reason for hiding this comment

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

Does it support Mac deployment (ARM arch)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we specify x86_64_v6.3.2 explicitly? Even it is a default value, can it be changed by someone outside?

It could be changed in either case, since all values in this file are overridable.

Does it support Mac deployment (ARM arch)?

I cannot verify this, not having a Mac myself, but I'm pretty sure that Docker on Mac uses VMs, so it can run either x86_64 or arm64 images.

But for the record, KeyDB has arm64 images too.

@azhavoro azhavoro merged commit 72379e2 into cvat-ai:develop Dec 11, 2023
43 checks passed
@cvat-bot cvat-bot bot mentioned this pull request Dec 11, 2023
amjadsaadeh pushed a commit to amjadsaadeh/cvat that referenced this pull request Dec 14, 2023
<!-- Raise an issue to propose your change
(https://github.com/opencv/cvat/issues).
It helps to avoid duplication of efforts from multiple independent
contributors.
Discuss your ideas with maintainers to be sure that changes will be
approved and merged.
Read the [Contribution
guide](https://opencv.github.io/cvat/docs/contributing/). -->

<!-- Provide a general summary of your changes in the Title above -->

### Motivation and context
<!-- Why is this change required? What problem does it solve? If it
fixes an open
issue, please link to the issue here. Describe your changes in detail,
add
screenshots. -->
That KeyDB version turned out rather unstable in practice, with multiple
crashes and freezes observed in production.

Resolved cvat-ai#7238

This reverts commit 118cc72.

### How has this been tested?
<!-- Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc. -->

### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable for some reason, then ~~explicitly
strikethrough~~ the whole
line. If you don't do that, GitHub will show incorrect progress for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- [ ] I have created a changelog fragment <!-- see top comment in
CHANGELOG.md -->
- ~~[ ] I have updated the documentation accordingly~~
- ~~[ ] I have added tests to cover my changes~~
- ~~[ ] I have linked related issues (see [GitHub docs](

https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))~~
- ~~[ ] I have increased versions of npm packages if it is necessary

([cvat-canvas](https://github.com/opencv/cvat/tree/develop/cvat-canvas#versioning),

[cvat-core](https://github.com/opencv/cvat/tree/develop/cvat-core#versioning),

[cvat-data](https://github.com/opencv/cvat/tree/develop/cvat-data#versioning)
and

[cvat-ui](https://github.com/opencv/cvat/tree/develop/cvat-ui#versioning))~~

### License

- [x] I submit _my code changes_ under the same [MIT License](
https://github.com/opencv/cvat/blob/develop/LICENSE) that covers the
project.
  Feel free to contact the maintainers if that's a concern.
@SpecLad SpecLad deleted the revert-keydb branch September 30, 2024 10:51
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.

KeyDB segmentation faults on 6.3.4
4 participants