-
Notifications
You must be signed in to change notification settings - Fork 262
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
Need Code refactoring for better code reusability in StatusUpdaterBolt #1025
Comments
I could not add the label as wish |
@jnioche Can I provide the fix and raise a PR |
Sure, this will help us understand what you want to achieve. As far as the doc ID is concerned, I'd rather we had the option to take it from the metadata, a bit like what is suggested in #671 for the IndexerBolt. This would give you the flexibility to generate the Id any way you like. |
@jnioche I thought I would be able to create a new PR but my new commits went into and existing pr I have mapped the particular commit here. |
@msghasan it is not clear from the dangling commit you mentioned what you are trying to achieve and because it is not in a PR it makes it difficult to comment on specific changes. |
@jnioche I only refactored the store method in parts so that anybody can reuse it as per their requirement when they extend the class StatusUpdaterBolt. I did not do any changes in the existing functionality. |
I wanted to create a PR for that but as an existing PR was opened by me for the archtype changes it got committed to that one because it was open. I have corrected the mistake and reverted the commit.. Will raise a new PR when the existing one gets approved.. |
Doesn't #1028 solve it? If so, cool. If not, it might need more explanatio as it needs some more discussion / reasoning for changing core classes. |
@jnioche @rzo1 Please ignore my previous message. I got confused by the issue no #1028. I will be deleting it and try to rephrase it again. |
Sorry for the comments lol I made a full of myself.. Understood where I was wrong. |
Issue 1028 solves the problem because the docId will be picked form the cache
The text was updated successfully, but these errors were encountered: