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

[CLEANUP] remove sql and query_manager #1369

Merged

Conversation

apoorvyadav1111
Copy link
Contributor

Hi team,

This PR removes the sql package and watchmanager.go.

Apoorv

@apoorvyadav1111 apoorvyadav1111 changed the title [REFACTOR] remove sql and query_manager [CLEANUP] remove sql and query_manager Dec 13, 2024
@apoorvyadav1111 apoorvyadav1111 force-pushed the refactor/remove-qwatch-remnants branch from 0eacb27 to 86e2782 Compare December 16, 2024 02:45
Copy link
Collaborator

@JyotinderSingh JyotinderSingh left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanup @apoorvyadav1111! LGTM

@JyotinderSingh
Copy link
Collaborator

JyotinderSingh commented Dec 16, 2024

Just noticed something.
Please also remove the following calls from store.go:

	if store.queryWatchChan != nil {
		store.notifyQueryManager(k, Set, *obj)
	}

Also remove the queryWatchChan since it is no longer needed. Any other related code should also be removed.

Copy link
Collaborator

@JyotinderSingh JyotinderSingh left a comment

Choose a reason for hiding this comment

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

requested changes

@apoorvyadav1111
Copy link
Contributor Author

Hi @JyotinderSingh , removed queryWatchChan from dicedb. Please review.

Copy link
Collaborator

@JyotinderSingh JyotinderSingh left a comment

Choose a reason for hiding this comment

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

LGTM

@JyotinderSingh JyotinderSingh merged commit bc15fe8 into DiceDB:master Dec 18, 2024
2 checks passed
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.

2 participants