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

Added master caches support #122

Merged
merged 19 commits into from
Mar 13, 2024
Merged

Conversation

qurname2
Copy link
Collaborator

To resolve issue #94

@l0kix2
Copy link
Collaborator

l0kix2 commented Feb 23, 2024

I suppose that tests are failing because of yamls wasn't updated. I suppose make generate will fix that.
Also there is no way to understand why e2e are failing from gh actions log, so the only way is to run them locally and check operator logs.

pkg/components/master_caches.go Outdated Show resolved Hide resolved
pkg/ytconfig/names.go Outdated Show resolved Hide resolved
pkg/ytconfig/generator.go Show resolved Hide resolved
pkg/components/master_caches.go Outdated Show resolved Hide resolved
@savnadya savnadya self-assigned this Feb 27, 2024
@qurname2 qurname2 assigned qurname2 and unassigned savnadya Feb 27, 2024
@qurname2 qurname2 force-pushed the master_caches_support branch 2 times, most recently from 5a9df63 to 8d66b57 Compare March 1, 2024 11:27
api/v1/test_helpers.go Show resolved Hide resolved
api/v1/test_helpers.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@l0kix2 l0kix2 left a comment

Choose a reason for hiding this comment

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

I think there are only minor issues left.

Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
api/v1/test_helpers.go Outdated Show resolved Hide resolved
api/v1/test_helpers.go Outdated Show resolved Hide resolved
pkg/ytconfig/base_generator.go Outdated Show resolved Hide resolved
pkg/ytconfig/generator.go Outdated Show resolved Hide resolved
pkg/ytconfig/generator.go Outdated Show resolved Hide resolved
pkg/ytconfig/generator_test.go Outdated Show resolved Hide resolved
c.MasterCache.Addresses = g.getMasterAddresses()
} else {
c.MasterCache.Addresses = g.getMasterCachesAddresses()
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like default behaviour to go to master if master caches is empty. @gritukan is it better somehow to fill config with master addresses for caches for some reason?

pkg/ytconfig/node_generator.go Outdated Show resolved Hide resolved
@l0kix2 l0kix2 merged commit 3642895 into ytsaurus:main Mar 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants