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

Occasionally can't get value from memcache. #13092

Closed
gotoin opened this issue Sep 26, 2017 · 2 comments
Closed

Occasionally can't get value from memcache. #13092

gotoin opened this issue Sep 26, 2017 · 2 comments
Labels
not a bug Reported issue is not a bug

Comments

@gotoin
Copy link

gotoin commented Sep 26, 2017

Questions should go to https://forum.phalconphp.com
Documentation issues should go to https://github.com/phalcon/docs/issues

Expected and Actual Behavior

Describe what you are trying to achieve and what goes wrong.

Provide output if related. Provide coredump if any. Use https://github.com/phalcon/cphalcon/wiki/Generating-a-backtrace as reference

Occasionally can't get value from memcache.

For example: 
$this->set('test', 'this is a test');
$this->get('test'); // this is a test
$this->get('test'); // false
$this->get('test'); // this is a test

Sometimes get value
Sometimes cat't get value

thank you

Provide minimal script to reproduce the issue

// paste code

Details

  • Phalcon version: 3.1.2
  • PHP Version: 7.0
  • Operating System: mac os | centos7
  • Installation type: installing via package manager
  • Zephir version (if any):
  • Server: Nginx
  • Other related info (Database, table schema): mysql5.6
@gotoin
Copy link
Author

gotoin commented Sep 26, 2017

php5.6 phalcon2 no problem, this problem arises after the upgrade

sergeyklay added a commit that referenced this issue Oct 2, 2017
@sergeyklay
Copy link
Member

sergeyklay commented Oct 2, 2017

Closing, I can't reproduce this.

As you can see the tests passed: #13105.

  • Did you check memcached (for example via telnet) in cases where Phalcon can't receive data?
  • Did you diagnosed a Memcache server for miss rate?

I'm not sure that there is any Phalcon related issue.

P.S. Please in future issues use a bit more related info e.g. Memcached Server version, used adapter (Libmemcached, Memcache), PHP extension to work with memcached protocol, etc. And feel free to discuss on the official forums, and/or the internals resources.

@sergeyklay sergeyklay added the not a bug Reported issue is not a bug label Oct 2, 2017
chilimatic pushed a commit to chilimatic/cphalcon that referenced this issue Nov 2, 2017
@niden niden added bug A bug report and removed bug A bug report labels Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not a bug Reported issue is not a bug
Projects
None yet
Development

No branches or pull requests

3 participants