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

RID screwed up #2082

Closed
henryzhao81 opened this issue Feb 28, 2014 · 0 comments
Closed

RID screwed up #2082

henryzhao81 opened this issue Feb 28, 2014 · 0 comments

Comments

@henryzhao81
Copy link
Contributor

Step to reproduce :
1.create plocal database demo
orientdb> create database plocal:/demo admin admin plocal
2. start database server and remote connect to database demo
3. select from OUser class
orientdb {demo}> select from OUser
----+----+------+-------------------------------------------------------------------------+------+-----

|@Rid|name |password |status|roles

----+----+------+-------------------------------------------------------------------------+------+-----
0 |#5:0|admin |{SHA-256}8C6976E5B5410415BDE908BD4DEE15DFB167A9C873FC4BB8A81F6F2AB448A918|ACTIVE|[1]
1 |#5:1|reader|{SHA-256}3D0941964AA3EBDCB00CCEF58B1BB399F9F898465E9886D5AEC7F31090A0FB30|ACTIVE|[1]
2 |#5:2|writer|{SHA-256}B93006774CBDD4B299389A03AC3D88C3A76B460D538795BC12718011A909FBA5|ACTIVE|[1]
----+----+------+-------------------------------------------------------------------------+------+-----
4.give a random number and select
orientdb {demo}> select from #5:1232323
0 item(s) found. Query executed in 0.001 sec(s).
5. insert a new record to OUser class
orientdb {demo}> insert into OUser (name, password, status) values ('test','test','ACTIVE')
6.do select again
orientdb {demo}> select from OUser
----+----------+------+-------------------------------------------------------------------------+------+--

|@Rid |name |password |status|roles

----+----------+------+-------------------------------------------------------------------------+------+--
0 |#5:0 |admin |{SHA-256}8C6976E5B5410415BDE908BD4DEE15DFB167A9C873FC4BB8A81F6F2AB448A918|ACTIVE|[1]
1 |#5:1 |reader|{SHA-256}3D0941964AA3EBDCB00CCEF58B1BB399F9F898465E9886D5AEC7F31090A0FB30|ACTIVE|[1]
2 |#5:2 |writer|{SHA-256}B93006774CBDD4B299389A03AC3D88C3A76B460D538795BC12718011A909FBA5|ACTIVE|[1]
3 |#5:1229272|test |{SHA-256}9F86D081884C7D659A2FEAA0C55AD015A3BF4F1B2B0B822CD15D6C15B0F00A08|ACTIVE|null
----+----------+------+-------------------------------------------------------------------------+------+--

user test/test RID are jump to #5:1229272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants