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

[MultiDB] (except ./src and ./dockers dirs): replace redis-cli with sonic-db-cli and use new DBConnector #4035

Merged
merged 4 commits into from
Jan 22, 2020

Conversation

dzhangalibaba
Copy link
Collaborator

this commit made changes in sonic-buildimage module directory except ./dockers/(this is done in another PR) amd ./src/(will do in next PR)

  • replace redis-cli with sonic-db-cli
  • replace old DBConnector with new DBConnector
  • vs tests passed, loaded on DUT, looks good
  • check/compare each output between redis-cli and sonic-db-cli in this PR, make sure they are the same format.

Signed-off-by: Dong Zhang d.zhang@alibaba-inc.com

lguohan
lguohan previously approved these changes Jan 17, 2020
@dzhangalibaba
Copy link
Collaborator Author

retest vsimage please

1 similar comment
@dzhangalibaba
Copy link
Collaborator Author

retest vsimage please

lguohan
lguohan previously approved these changes Jan 21, 2020
@dzhangalibaba
Copy link
Collaborator Author

@qiluo-msft We can start review on this PR now

@@ -113,7 +113,10 @@ function preStartAction()
fi

echo -n "" > /tmp/snmpagentaddr.yml
keys=`/usr/bin/redis-cli -n 4 keys "SNMP_AGENT_ADDRESS_CONFIG|*"`
# we should avoid using 'keys' operation via redis-cli or sonic-db-cli
Copy link
Collaborator

Choose a reason for hiding this comment

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

add explicit TODO as a marker in the comment.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated the TODO marker, it trigger the testing again and you may need to approve it later again.

qiluo-msft
qiluo-msft previously approved these changes Jan 21, 2020
@dzhangalibaba dzhangalibaba dismissed stale reviews from qiluo-msft and lguohan via b04ee64 January 21, 2020 21:41
@dzhangalibaba
Copy link
Collaborator Author

retest baseimage please

@dzhangalibaba
Copy link
Collaborator Author

retest broadcom please

@dzhangalibaba
Copy link
Collaborator Author

retest vsimage please

1 similar comment
@dzhangalibaba
Copy link
Collaborator Author

retest vsimage please

@qiluo-msft
Copy link
Collaborator

Since the previous commit passed PR checks, the new commit only modifies code comment, we are safe to merge.

@dzhangalibaba update comment d4b8601

@qiluo-msft qiluo-msft merged commit 7aa0baf into sonic-net:master Jan 22, 2020
abdosi pushed a commit that referenced this pull request Feb 4, 2020
…onic-db-cli and use new DBConnector (#4035)

* [MultiDB] (except ./src and ./dockers dirs): replace redis-cli with sonic-db-cli and use new DBConnector
* update comment for a potential bug
* update comment
* add TODO maker as review reqirement
@dzhangalibaba dzhangalibaba deleted the others branch February 11, 2020 01:34
pphuchar pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Mar 9, 2020
…onic-db-cli and use new DBConnector (sonic-net#4035)

* [MultiDB] (except ./src and ./dockers dirs): replace redis-cli with sonic-db-cli and use new DBConnector
* update comment for a potential bug
* update comment
* add TODO maker as review reqirement
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Apr 24, 2020
…onic-db-cli and use new DBConnector (sonic-net#4035)

* [MultiDB] (except ./src and ./dockers dirs): replace redis-cli with sonic-db-cli and use new DBConnector
* update comment for a potential bug
* update comment
* add TODO maker as review reqirement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants