issues
search
paust-team
/
paust-db
GNU General Public License v3.0
6
stars
5
forks
source link
Change rowkey structure
#138
Closed
dragon0170
closed
5 years ago
dragon0170
commented
5 years ago
Reference
resolve #134
내용
timestamp(uint64), salt(uint16)을 입력받아 rowKey(byte slice, 10 byte)를 생성하는 GetRowKey 함수를 types.go에 추가
HTTPClient의 Put, Query function에서 rowKey를 생성시 GetRowKey 함수를 사용해 생성하도록 변경
HTTPClient의 deserializeKeyObj function에서 rowKey로부터 timestamp를 가져오는 과정 수정
MasterApplication에서 query 처리시 GetRowKey 함수를 사용해 start, end iteration key를 생성하도록 변경
types.QueryObj의 Start, End field의 data type을 byte slice에서 uint64로 변경
master application에서 GetRowKey 함수를 통해 query를 위한 start, end key를 생성하기 때문
Reference resolve #134
내용