amazon web services - php - simpledb - can't get consistent read to work -
i'm using aws simpledb site, if udpate attribute different, searching property either new value or old value both returning same record.
let's 'login' property's current value 'dev'. change value 'myvar'.
$response = $this->simpledb->select(vsprintf(select * mydomain login='%s',array('myvar')),array('consistentread' => 'true')); # returns newly updated row $response = $this->simpledb->select(vsprintf(select * mydomain login='%s',array('dev')),array('consistentread' => 'true')); # returns same row though 'login' has changed
am doing wrong consistent read argument? have no clue why happening. also, it's been half hour , issue still happening, highly doubt takes aws long propagate changes across servers.
anyone have ideas?
i did not realize @ time, using v1 of sdk, after updating v2 consistency issues solved.
Comments
Post a Comment