-
Notifications
You must be signed in to change notification settings - Fork 360
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
Remove unused funcs in tx.go #3128
Remove unused funcs in tx.go #3128
Conversation
FYI I made this PR pretty quick, but after reviewing code a bit more, I'm wondering if there is a reason this has stayed in the code base but hasn't been used yet. Do we actually want to remove it? Or are the foreseen places or circumstances where these functions will be used in the future? |
@DataDavD As best practices we try not to leave unused code in the repository. Worst case - we will re add it when needed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks!
@DataDavD All checks have passed - you can press the merge button to merge the changes |
Sounds good. I figured that was the case, but just wanted to be sure since I'm not too knowledgeable about the history and roadmap of lakeFS. Thought it was fine since its in the git history anyways 😄. Thank you for the quick review!
|
Great! Unfortunately, it appears I don't have the perms to Merge 😞. Are you able to merge for me when you get a chance? Thanks in advance!
|
Done, thanks! |
Hi @DataDavD , Thanks for this PR! Some background / context / legends and origin stories: we used to use PostgreSQL a lot more. At that time selecting appropriate consistency models made sense. With #2466 coming up, we have been removing usage of RDBMS features. So we no longer need these functions, and (I hope) there should be no use for them in the near future. So IMO you're spot-on that they meeded to go! |
@arielshaqed thanks for the great detailed response/info. It's very helpful. That is one of the many things I love about lakeFS/treeverse engineers like you. Y'all are always willing to help out and provide good explanations for everything to make it easy on us new contributors to understand why things have been done, are being done, and will be done. Also, very excited to hear about #2466 !!!!! 🥳 Thanks again! Best, |
Remove unused functions in tx.go
This PR closes #3078