Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Feature request: XmlDocumentManager.write() returns an updated DocumentDescriptor

Đang mở
#1,939 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
java
Lĩnh vực
api, databases

Hướng nghiên cứu

Bắt đầu từ XmlDocumentManager.write(DocumentDescriptor desc, WriteHandle handle) và kiểm tra interface, các triển khai cũng như các bài kiểm thử hiện có của nó. Cập nhật API để thao tác ghi trả về DocumentDescriptor đã được cập nhật, chứa phiên bản tài liệu mới, sau đó xác minh hành vi ghi bị ảnh hưởng và các bên gọi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

We would like to use the optimistic read feature on XmlDocumentManager.read(DocumentDescriptor desc, String uri). To use it effiently we would store the latest DocumentDescriptor and document in memory on our client side, thus when XmlDocumentManager.read(DocumentDescriptor descr, String uri) returns null - signalling that the content on the server has not changed in between - we know that our descriptor and document in memory is up to date.

Request: to close the loop we would need to enhance the XmlDocumentManager's write method to return the updated DocumentDescriptor (with the updated document version number inside) like this:

DocumentDescriptor write(DocumentDescriptor desc, WriteHandle handle);
Ngôn ngữ chính
Java
Star
61
Fork
74
Merge trung bình
2 ngày 53 phút
Pull request đã merge (30 ngày)
8

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của marklogic/java-client-api

Tất cả issue của marklogic/java-client-api

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.