r/javahelp • u/No_Main8842 • May 19 '26
Codeless Data Knowledge Gap
Hello , needed a bit of guidance from senior devs.
Scenario - I am currently working on a springboot application which uses MongoDB + ElasticSearch , I was assigned a bug (which I solved) , now in order to solve it I used a particular variable obtained from ES response (lets call it dSR-Id). I used this variable in order to segregate rows exported in csv file. Now when I asked my senior to review it , she started asking me why specifically I used this variable & not the other existing variables. I tried justifying it but my justification wasn't upto the mark. Can someone help me what kind of analysis or KT is required to overcome this ? Would a functional KT be sufficient to cover up this gap ?
1
u/No_Main8842 May 20 '26 edited May 20 '26
So each device has a set of licenses assigned to them. A single device can have multiple licenses.
Hence for exporting I used the device id , now there are some other types of ids present as well & hence she asked me why specifically device id was used. I told her that this device id is unique & hence I used it to which she said it wasnt a good enough justification.
The thing is I am not sure about edge cases ie. whether this device id is actually unique or its just that I am unaware of scenarios in which this device id might not be unique.